[EMAIL PROTECTED] writes: > i try to use the following command line : > mingw32-g++ -c DllTest.cpp DllTest.def > > to compile the .cpp source, but i get this error: > mingw32-g++: DllTest.def: linker input file unused because linking not done
This is not an error, but a warning. It tells you to remove DllTest.def from the *compile* line, because .def files only make sense on the *link* line, and are useless at compile time. > I don't know if extern "C" have the same effect of __stdcall. It doesn't. Unlike __stdcall, it has the *correct* effect. Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. _______________________________________________ Help-gplusplus mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gplusplus
