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)
|