Re: Linking Windows dll with GCC application on cygwin

2006-04-10 Thread Igor Peshansky
On Mon, 10 Apr 2006, Jie Xu wrote: I have a dll, for which I don't have the source code, compiled in Visual Studio .NET 2003. How can I link this dll with my C++ codes compiled in GCC on cygwin? The short answer is: you can't (in general). C++ name mangling is different in GCC and MSVC, so

Re: Linking Windows dll with GCC application on cygwin

2006-04-10 Thread Jie Xu
Thanks a lot! -Jie - Original Message - From: Igor Peshansky [EMAIL PROTECTED] To: Jie Xu [EMAIL PROTECTED] Cc: cygwin@cygwin.com Sent: Monday, April 10, 2006 12:38 PM Subject: Re: Linking Windows dll with GCC application on cygwin On Mon, 10 Apr 2006, Jie Xu wrote: I have a dll