From: Jose F. <j_r...@ya...> - 2001-11-29 10:51:59
|
Hi, Yes, you should be aware that the import library generated by MinGW is not usable directly by MSVC. What you have to do is generate a .LIB. For that matter you will need the .DEF of your DLL (check at http://www.mingw.org/docs.shtml how to make it). Once you have it, using the MSVC command line tools, do: lib /def:myfile.def to generate the import library. Regards, Jose Fonseca On Thu, 2001-11-29 at 09:06, Bangalee Bayee wrote: > Hey all, > I'm trying to have a MSVC created app call a DLL built > with MinGW. While I can compile and link successfully, > the app runs into access violation every time it's > started. > > I've tried this both with a very simple "Hello World" > kind of app and the one that's generated by MSVC > Wizard (Win32-DLL). I created my MinGW DLL following > the instructions from www.mingw.org/docs.html. In > MSVC, I simply point to the lib file generated by > MinGW. > > Is there something that I should be aware of? > > Thanks a lot! > > - Bayee > > __________________________________________________ > Do You Yahoo!? > Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. > http://geocities.yahoo.com/ps/info1 > > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options at: > https://lists.sourceforge.net/lists/listinfo/mingw-users |