delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/02/22:22:56

X-Spam-Check-By: sourceware.org
Message-ID: <000701c69e47$6a6c8000$ab01a8c0@loiscxf>
From: "cxf" <chenxiaof AT is DOT iscas DOT ac DOT cn>
To: <cygwin AT cygwin DOT com>
Subject: How to use the generated lib in C++ Program
Date: Mon, 3 Jul 2006 10:21:39 +0800
MIME-Version: 1.0
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019