How to unlock multithreading of third-party DLLs in Delphi?

121 views Asked by At

I have a DLL written in C that uses pthreads-w32 threads. When I connected it in a .NET Framework program, the threads worked correctly. But now I'm using VCL, and when I try to start a thread from a DLL function, the program hangs intentionally.

I tried to set the IsMultiThread := True variable in the program itself, but this should be done from inside the DLL, and it has nothing to do with the VCL. Is there any way out of this situation?

0

There are 0 answers