Juri Glukowskij
11/7/2007 8:52:00 PM
Hi,
i have a managed WebService written in c# which accesses an DLL written in
c++ )unmanaged). I load the DLL with DLLIMPORT function and then call a
function inside of the dll. Now the huge problem is: after i have called the
webservice like 10 Time simultaniously my application crashes with an access
violation error. When I remotely debug my programm, i can see that the
problem occurs in the kernel32.dll and the dump catched with the microsoft
debug tools looks like it cant load/unload the unmanaged.dll.
Can somebody give me a hint why this could happen? Perhaps because all
threads are trying to get ONE unmanaged dll, and its not thread safe?
Please help!
Thank you!