S
superseed
Hi, my problem is quite complexe to describe but here is a try :
I have a C++ library exporting a class which is wrapped using a C++
..Net Wrapper to be used in a C# software.
In the C++ library I have a file which contains C functions in which
there are global variable and pointers (it's not my code) and the C++
class access the C functions for some processing.
My C# application is multithreaded and I instanciate two classes
exported from the DLL which can be used concurrently.
My question is : Sometime it crashes and I suspect that the problem is
that the C global variables are unique even if I instanciate two
classes. Is that true ?
I have a C++ library exporting a class which is wrapped using a C++
..Net Wrapper to be used in a C# software.
In the C++ library I have a file which contains C functions in which
there are global variable and pointers (it's not my code) and the C++
class access the C functions for some processing.
My C# application is multithreaded and I instanciate two classes
exported from the DLL which can be used concurrently.
My question is : Sometime it crashes and I suspect that the problem is
that the C global variables are unique even if I instanciate two
classes. Is that true ?