This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

MSVC and dlls


I am still unable to use dlls created with Visual C++ 4.2 with gcc and
I'm starting to wonder if perhaps there is a dll version conflict with
the cygwin32 dll. Maybe someone can shed some light on this.

I've built a VERY simple dll in MSVC. If I compile the test app in
MSVC, all works fine. However, if I use the b18 dlltool and compile
the test app with b18 gcc, I get the "Unable to run..." message on
Windows95. Gdb reports error number 11.

What makes me suspicious of the dll revision? Here are some
observations:

The dll's export table does not show up using pedump on both Windows95
and NT 4.0. It also does not show up using Quick View on Windows95.

It does, however, show up using Quick View on NT 4.0 or Microsoft's
"dumpbin" utility. Did Microsoft rev. the dll format? If so, perhaps
there is something in the cygwin dll that can't handle the newer
format.

The dlltool command that I run on the MSVC dll is

	dlltool --def test.def --dllname test.dll --output-lib libtest.a

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]