[fpc-pascal] Delphi 2010 code crashing in Lazarus (0.9.30, Win32)

Sven Barth pascaldragon at googlemail.com
Wed Apr 13 09:32:46 CEST 2011

Am 13.04.2011 09:06, schrieb Paul Nicholls:
> Hi all,
>    I have a DLL that was compiled using Delphi 2010 (or Delphi XE, not sure
> which...), and this DLL uses PWideString in a bunch of it's interfaces.
> I have some code that uses the DLL which runs fine using D2010, but crashes
> using Lazarus 0.9.30, Win32.  The debugger is being less than helpful in
> allowing me to track down the problem (big AAARRRGGGGHHHH!!!).
> Does Lazarus/Freepascal have WideString/AnsiString support (mixing types
> too) out of the box like D2010, or do I have to do different things with
> Lazarus code when mixing WideString/AnsiString values and assignments?

You might experience the same problem I had reported here: 
http://bugs.freepascal.org/view.php?id=14308 (that reminds me that I 
need to test that patch... -.- )


More information about the fpc-pascal mailing list