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:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 9:55 PM To: Suhanthan Vanniyasingam; '[EMAIL PROTECTED]' 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 [EMAIL PROTECTED] 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/