[Lazarus] RE : RE : Forms in DLL

Ludo Brands ludo.brands at free.fr
Thu Aug 18 15:09:41 CEST 2011


 

Tested on Mac. It seems to work fine.



I'm afraid I have less luck. It crashes with a sigsegv on win32 (XP sp2)
when I click on "create Dll Form". 
When debugging with gdb I can't get a stack trace. When tracing in the dll
it crashes somewhere at the end of createform before or in Show. The crash
location changes depending on where I put a breakpoint, which indicates
something going wrong in the message loop (events). 
Attaching the Visual Studio debugger to test.exe gives a partial stackframe.
The last real address is APPPROCESSMESSAGES +352. That is the return address
from DispatchMessageW(@AMessage)DispatchMessageW(@AMessage). Again the
message loop. This is APPPROCESSMESSAGES from the test unit, not the dll. 
 
Ludo
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110818/5aec9a58/attachment-0003.html>


More information about the Lazarus mailing list