[Lazarus] Mutlithreaded Dll Callback crashes my Application
Maik Wojcieszak
maikwo at googlemail.com
Wed Aug 25 09:28:14 CEST 2010
Marco,
Thanks for your reply.
Marco van de Voort schrieb:
> On Tue, Aug 24, 2010 at 01:41:51PM +0200, Maik Wojcieszak wrote:
>
>> After my holiday I've done done more research on this problem and hope I
>> can get an answer while continuing this thread.
>>
>> My Versions (again)
>>
>> Lazarus IDE v0.9.28.2 Beta
>> MS Windows XP Prof DE sp3
>> FPC Version 2.2.4
>>
>> What I basically do is passing a pointer to a calback funtion to a dll
>> writte in c++ (Visual Studio 2005) and call it from there.
>> ** The follwing code is from the example attached to this mail **
>>
>
> Is something exported, but not explicitely declared __cdecl really cdecl?
>
I am using cdecl in Delphi and it works very well. So, I guess it is ok.
I've tested stdcall and it show's the same problem.
Maik
> Try stdcall?
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
More information about the Lazarus
mailing list