This is the mail archive of the
cygwin
mailing list for the Cygwin project.
How to use the generated lib in C++ Program
- From: "cxf" <chenxiaof at is dot iscas dot ac dot cn>
- To: <cygwin at cygwin dot com>
- Date: Mon, 3 Jul 2006 10:21:39 +0800
- Subject: How to use the generated lib in C++ Program
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 difference between linking in C program and C++
program.
--
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/