Page 1 of 1

TMSConnection in a DLL

Posted: Thu 08 Jan 2009 09:30
by tojo
I'm having a DLL, which creates a TMSConnection and connects to a DBMS.
The client program spawns threads (with CoInitialize-calls) and calls the DLL. When doing a stress test I get Access Violations!!

If I put the same code inside the client (no DLL) everything works fine...

Is there anything I have to consider when using connections inside a DLL, which is called by a thread?

Posted: Thu 08 Jan 2009 14:55
by Dimon
Please try to compose a small sample to demonstrate the problem and send it to dmitryg*devart*com.