Calling DLL method from multi-thread
-
HI, I'm updating my C++ application in to multi thread application in VisualStudio 2013. In main(), thread's was created by CreateThread()and inside the thread's classA ObjA(); was created & called the function. In the classA it call another dll method. Dll was include in to the project through properties->Linker. Problem was when objA called dll method , application throws access violation reading location. But without multi-thread it works normal. Accessing dll method from multi-thread is same way as normal or any other things needed for accessing. Thanks in Advance.
-
HI, I'm updating my C++ application in to multi thread application in VisualStudio 2013. In main(), thread's was created by CreateThread()and inside the thread's classA ObjA(); was created & called the function. In the classA it call another dll method. Dll was include in to the project through properties->Linker. Problem was when objA called dll method , application throws access violation reading location. But without multi-thread it works normal. Accessing dll method from multi-thread is same way as normal or any other things needed for accessing. Thanks in Advance.
-
HI, I'm updating my C++ application in to multi thread application in VisualStudio 2013. In main(), thread's was created by CreateThread()and inside the thread's classA ObjA(); was created & called the function. In the classA it call another dll method. Dll was include in to the project through properties->Linker. Problem was when objA called dll method , application throws access violation reading location. But without multi-thread it works normal. Accessing dll method from multi-thread is same way as normal or any other things needed for accessing. Thanks in Advance.
What is a type of your project? What is a type of a DLL?