Hello, I'm trying to use a DLL created with cygwin in my VC++ project. I have a DLL file and I need to create .lib in order to use the DLL in VC++, I use the following command sequence:
dlltool --export-all-symbols --output-def mylib.def mylib.dll #cygwin's dlltool
lib /DEF:mylib.def /OUT:mylib.lib #VC++'s lib Then, I link my VC++ application using the mylib.lib, but the linker says: mylib.lib : fatal error LNK1127: library is corrupt What should I do ? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/