From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29723 invoked by alias); 4 May 2004 05:07:00 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 29716 invoked from network); 4 May 2004 05:06:59 -0000 Received: from unknown (HELO web20608.mail.yahoo.com) (216.136.226.166) by sources.redhat.com with SMTP; 4 May 2004 05:06:59 -0000 Message-ID: <20040504050658.17977.qmail@web20608.mail.yahoo.com> Received: from [203.124.166.130] by web20608.mail.yahoo.com via HTTP; Mon, 03 May 2004 22:06:58 PDT Date: Tue, 04 May 2004 05:07:00 -0000 From: john george Subject: Trying to link an MSVC DLL with a Cygwin Application To: cygwin@cygwin.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes X-SW-Source: 2004-05/txt/msg00081.txt.bz2 Hi , I'm trying to link a MSVC++ created DLL with a cygwin application. Could you please provide me any useful link realted to this issue. I'm trying the following commands but it doesn't seem to work: Trying to convert the MSVC++ created DLL to a shared lib using the dlltool dlltool --def test.def --dllname msvctest.dll -llibtest.a (test.def has the exported symbol names) I keep this libtest.a in the /lib directory so that there won't be any LD_LIBRARY_PATH related issues. After this step I try gcc mytest.c -ltest This gives me undefined refernce to function name ... Is there anything that I'm missing? Regards, john __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover -- 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/