This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]