Mail Archives: cygwin/2002/04/03/04:33:19
Hi,
I have tried to use a DLL which is created using Cygwin by a VC++ console
application. But after loaded that DLL the usual cout and printf console
outputs are not coming to the current screen. That means, when I tried to
use a printf ("test\n"); the command is executed. But the output message
"test" is not appearing in the screen.
But when I put a printf in side the DLL function, that out put is displayed
correctly. But I cannot print any messages from my main function to that
screen after loading the DLL which was created by cygwin.
Any comments?
Thank You,
Regards,
Suhanthan, V.
Suhanthan Vanniyasingam
www.eRunway.com
-----Original Message-----
From: Larry Hall (RFK Partners, Inc) [mailto:lhall AT rfk DOT com]
Sent: Tuesday, April 02, 2002 9:55 PM
To: Suhanthan Vanniyasingam; 'cygwin AT cygwin DOT 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 AT rfk DOT 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/
- Raw text -