Re: How to use the generated lib in C++ Program

2006-07-02 Thread Larry Hall (Cygwin)
cxf wrote: > I Follow the FAQ "How can an MSVC program call a MinGW DLL, and vice > versa?" and generate the library testdll.lib. Wrong list. This is an FAQ for the MinGW list, not Cygwin (i.e. ). > But when I use the > testdll.lib in VC,it seems ok w

How to use the generated lib in C++ Program

2006-07-02 Thread cxf
I Follow the FAQ "How can an MSVC program call a MinGW DLL, and vice versa?" and generate the library testdll.lib.But when I use the testdll.lib in VC,it seems ok when linking with .c files, but when I change the file extenstion from ".c" to ".cpp", the VC can not link with it. Are there any diffe