RE: Trying to link an MSVC DLL with a Cygwin Application

2004-05-03 Thread Billinghurst, David (CALCRTS)
> From: john george > > I'm trying to link a MSVC++ created DLL with a cygwin > application. > > ... > > This gives me undefined refernce to function name ... > > Is there anything that I'm missing? The g++ and MSVC++ mangle C++ names differently. This makes it very difficult (perhaps impossib

RE: Trying to link an MSVC DLL with a Cygwin Application

2004-05-03 Thread john george
Can i resolve the name mangling issue by adding the extern "C" declaration for every function that I'm exporting in the MSVC created DLL. I tried this but doesn't seem to work.Is there any other way to do this. Thanks john --- "Billinghurst, David (CALCRTS)" <[EMAIL PROTECTED]> wrote: > > From:

RE: Trying to link an MSVC DLL with a Cygwin Application

2004-05-04 Thread Arash Partow
Hi David, That is a false assumption, I have been able to link a REAL win32 dll against a cygwin application however linking a cygwin compiled dll into a MSVC app is where you will come into troubles. This is because neither cygwin's or ming's dlltool create dlls as specified by MS's dll specifica

RE: Trying to link an MSVC DLL with a Cygwin Application

2004-05-04 Thread Igor Pechtchanski
On Mon, 3 May 2004, john george wrote: > --- "Billinghurst, David (CALCRTS)" > billinghurstcomalcoriotintocomau> wrote: . > > > From: john george > > > > > > I'm trying to link a MSVC++ created DLL with a cygwin application. > > > > > > ... > > > > > >

RE: Trying to link an MSVC DLL with a Cygwin Application

2004-05-04 Thread Jörg Schaible
john george wrote: > Can i resolve the name mangling issue by adding the > extern "C" declaration for every function that I'm > exporting in the MSVC created DLL. > I tried this but doesn't seem to work.Is there any > other way to do this. Be aware, that there is more than just a compatible call.

Re: Trying to link an MSVC DLL with a Cygwin Application

2004-05-05 Thread Jörg Schaible
Please keep replies on the list! On Wednesday 05 May 2004 09:31, you wrote: Jt> Jörg Schaible wrote: Jt> Jt> > john george wrote: Jt> > Jt> > Jt> >>Can i resolve the name mangling issue by adding the Jt> >>extern "C" declaration for every function that I'm Jt> >>exporting in the MSVC created DLL.