Creating DLLs using c++/g++

Suhanthan Vanniyasingam
Tue Apr 2 19:46:00 GMT 2002

Hi Larry,

Thank you fo rthe reply. I supposed to use extern "C" before the function
Now I have solved the problem

Thank You,

Suhanthan, V.

Suhanthan Vanniyasingam

-----Original Message-----
From: Larry Hall (RFK Partners, Inc) []
Sent: Tuesday, April 02, 2002 9:55 PM
To: Suhanthan Vanniyasingam; ''
Cc: Narasimha Sarma; Nandika Mirihana
Subject: Re: Creating DLLs using c++/g++

At 07:41 AM 4/2/2002, Suhanthan Vanniyasingam wrote:
>I have created DLLs by using the following command
>         "gcc -Wl,--out-implib,libmydll.import.a -shared -o mydll.dll
>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                    
RFK Partners, Inc.            
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX

Unsubscribe info:
Bug reporting:

More information about the Cygwin mailing list