Earnie Boyd
-
2001-12-11
- status: open --> closed
Description:
Trying to rely on autoimport feature when linking directly against DLL (versus linking against import library) will produce broken executables.
Cause:
When linking against DLL, symbols are not distinguished by DATA vs CODE.
Solution/Workaround:
Do not link against DLL. Create proper import library (e.g., with the pexports tool, part of 'altbinutils-pe' package at http://sourceforge.net/projects/mingwrep/\) and link against it.