This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Creating DLLs using c++/g++
- From: Suhanthan Vanniyasingam <Suhanthan at eRunway dot com>
- To: "'Larry Hall (RFK Partners, Inc)'" <lhall at rfk dot com>
- Cc: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Wed, 3 Apr 2002 09:43:58 +0600
- Subject: RE: Creating DLLs using c++/g++
Hi Larry,
Thank you fo rthe reply. I supposed to use extern "C" before the function
name.
Now I have solved the problem
Thank You,
Regards,
Suhanthan, V.
Suhanthan Vanniyasingam
www.eRunway.com
-----Original Message-----
From: Larry Hall (RFK Partners, Inc) [mailto:lhall@rfk.com]
Sent: Tuesday, April 02, 2002 9:55 PM
To: Suhanthan Vanniyasingam; 'cygwin@cygwin.com'
Cc: Narasimha Sarma; Nandika Mirihana
Subject: Re: Creating DLLs using c++/g++
At 07:41 AM 4/2/2002, Suhanthan Vanniyasingam wrote:
>Hi,
>
>I have created DLLs by using the following command
> "gcc -Wl,--out-implib,libmydll.import.a -shared -o mydll.dll
>mydll.o"
>and used with a VC++ application.
>
>But I have tried the same command with c++ and g++. It's creating the DLL.
>But the functionality is not accessible by VC++ application.
How so?
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/