Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2011-04

Delphi 2010 code crashing in Lazarus (0.9.30, Win32)

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

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?

cheers,
Paul

"The plastic veneer of civilization is easily melted in the heat of the moment" - Paul Nicholls
Sven Barth
to Paul Nicholls
Paul Nicholls wrote 11 lines
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... -.- )

Regards,
Sven