TIP: Click on subject to list as thread! ANSI
echo: delphi
to: RYAN POTTS
from: JEROEN PLUIMERS
date: 1997-01-21 22:57:00
subject: Binairy Files from C++ to Delphi

Hello Ryan!
Thursday January 16 1997 00:38, Ryan Potts wrote to Jeroen Pluimers:
 JP>> Please note a C/C++ array of character does not translate
 JP>> into a Delphi String type!
 JP>> You should use array[0..31] of Char in Delphi.
 > I know.  That is why I also mentioned in my original message I did not
 > whether delphi 1 or 2 was going to be used.  In delphi 2 String is null
 > terminated.
But if you store a string in a record using Delphi 2.0, then it's just a 
pointer. So better use the array of char (this works, I have used this to 
interface with C/C++ stuff a lot)
 > Your suggestion would solve the problem.
Thanks :-)
Jeroen - jeroenp@dragons.nest.nl - [100013,1443]
--- GEcho 1.01+
---------------
* Origin: Unrecoverable Application Error, Dave - HAL 9000 (2:280/206.1)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.