Below are (1) a simple dll (dds.dll) and (2) a simple main program
(dtest.cpp). After much experimentation I have reduced my problem to this
tiny test case.
If I compile (1) with cygwin and (2) with mingw, the resulting program
segfaults when run.
(1) with cygwin and (2) with cygwin works.
(1
Hello,
Is DllMain() supposed to work with Cygwin and gcc?
If so, could someone share a simple, working example?
I have a relatively simple example that works with mingw, but does not work
with gcc. I could post the example if that is easier.
% uname -a
CYGWIN_NT-6.1-WOW64 CDD-NB01 1.7.30(0.27
I have a third-party, multi-threaded DLL (with .h file and .def file) that has
been compiled using minGW. The DLL uses the Windows threadpool API.
I want to use this DLL from Cygwin. What I'm actually doing is linking to this
DLL from Perl XS code, and functionally speaking, this now works fine.
3 matches
Mail list logo