delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/03/04:33:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <40F39C234319D611BCCB00B0D0D1CB336092EC@ENETSLMAILI>
From: Suhanthan Vanniyasingam <Suhanthan AT eRunway DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: printf and cout is not working after loaded the cygwin DLL
Date: Wed, 3 Apr 2002 15:29:05 +0600
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019