problems with dll-data exports without using dllexport/dllimprt

Ralf Habacker ralf@habacker.de
Fri Apr 27 00:51:00 GMT 2001


Hi,

In an older message I wrote about problems with linking to global dll vars
without using dllexport/dllimport.
Yet I have installed a patch from Paul Sokolovsky [paul-ml@is.lg.ua] who
first integrate a problem solve into mingw.
( http://cygwin.com/ml/cygwin/2000-11/msg00243.html )

Linking with this patch works fine, but some applications could not load the
dll (gdb says: Segmentation fault).

Now I have some questions:

1. Does anyone has experience in verifying dll structures and debugging dll
loading ?

2. Can anyone tell me, how cygwin-dll's with c++ code has to be initialized
?


Regards


Ralf Habacker



More information about the Binutils mailing list