[Lazarus] Mutlithreaded Dll Callback crashes my Application

Alexander Grau alex at grauonline.de
Wed Aug 25 21:24:20 CEST 2010


Vincent Snijders schrieb:
> 2010/8/25 Alexander Grau <alex at grauonline.de>:
>   
>> Here's the test program:
>>
>> http://grauonline.de/alexwww/tmp/extthread.zip
>>
>> Can you see any analogy to the problem? I have tried to add your suggested
>> "IsMultithread:=true" and it doesn't make any difference. I think there's
>> something wrong in the FPC runtime.
>>
>>     
>
> I took a quick look at it, but missed the code where the first FPC
> thread is created, before any external threads that use the FPC RTL is
> created.
>   
I have added this and it does not make any difference -

I have updated the test program here:

http://grauonline.de/alexwww/tmp/extthread.zip



Alexander




More information about the Lazarus mailing list