Read help under shortstring. Something tells me that what you are describing
is related to the difference between the way Delphi interprets strings and
shortstrings.
Cheers,
Al+
>
> Hi all.  I thought it was safe to use PChar(MyString) in Delphi 4
> whenever you needed a PChar, but I'm having a problem with the following
> code (somewhat simplified):

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to