[DUG] String Conversion
Rohit Gupta
rohit at cfl.co.nz
Wed May 16 12:05:41 NZST 2007
When converting a pchar to ansistring,
p : pchar;
a : ansistring;
do the following do the same thing ?
a := p;
a := string(p);
I can not find the latter in the Delphi help but is being used by
Crystal Reports, which is crashing when handling strings between the app
and the dll.
--
*Rohit Gupta*
* B.E. Elec. M.E. Mem IEEE Associate IEE*
*Technical Manager*
*Computer Fanatics Limited*
**
*Tel* +64 9 4892280
*Fax* +64 9 4892290
*Email *rohit at cfl.co.nz <mailto:rohit at cfl.co.nz>**
*Web *www.cfl.co.nz <http://www.cfl.co.nz/>
------------------------------------------------------------------------
This email and any attachments contain information, which is
confidential and may be subject to legal privilege and copyright. If you
are not the intended recipient, you must not use, distribute or copy
this email or attachments. If you have received this in error, please
notify us immediately by return email and then delete this email and any
attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.adventureeducation.co.nz/pipermail/delphi/attachments/20070516/24931906/attachment.html
More information about the Delphi
mailing list