PDA

View Full Version : Lazarus 0.9.30 (Win32) Exception class 'Exception: ?'...



paul_nicholls
13-04-2011, 04:04 AM
Hey all,
I was wondering if any of you have seen this before with Lazarus (0.9.30, Win32):

352

I am trying to get the prototype for The Probe working under Lazarus, but have run into this wall...

cheers,
Paul

JSoftware
13-04-2011, 05:13 AM
Could it be related to an exception thrown outside the application? In a DLL without debugging info for example? :)

paul_nicholls
13-04-2011, 05:24 AM
I don't know, I guess it could be :)

The dll I am using was compiled using D2010, but I am trying to use said dll from Lazarus...

I don't think it is possible to compile the dll using Lazarus due to compiler issues :(

cheers,
Paul

dazappa
13-04-2011, 11:55 AM
I would recommend seeing if you can compile the dll under Lazarus as well. IIRC when I was using Andorra, it mentioned that the Delphi dll would not work under Lazarus. (I still think it is kind of ludicrous if this is required though, a dll should just be a dll... )

paul_nicholls
13-04-2011, 12:10 PM
I would recommend seeing if you can compile the dll under Lazarus as well. IIRC when I was using Andorra, it mentioned that the Delphi dll would not work under Lazarus. (I still think it is kind of ludicrous if this is required though, a dll should just be a dll... )

Thanks for the tip dazappa...I will see if this can be done...

cheers,
Paul

JSoftware
13-04-2011, 02:14 PM
When blending dll's between different languages the thing to be concerned about is of course strings, and other reference counted objects. But also threads are dangerous. If you use any of this then you need to be careful :)

User137
13-04-2011, 03:10 PM
If its debugger related you can try turning it off, or run the application's .exe outside of Lazarus.