Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-Id: <4.3.1.2.20020403111409.0260e8f8@pop.ma.ultranet.com> X-Sender: lhall@pop.ma.ultranet.com Date: Wed, 03 Apr 2002 11:19:16 -0500 To: Suhanthan Vanniyasingam , "'cygwin@cygwin.com'" From: "Larry Hall (RFK Partners, Inc)" Subject: Re: printf and cout is not working after loaded the cygwin DLL In-Reply-To: <40F39C234319D611BCCB00B0D0D1CB336092EC@ENETSLMAILI> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 04:29 AM 4/3/2002, Suhanthan Vanniyasingam wrote: >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? Is 'tty' in your Cygwin environment variable? If so, see http://cygwin.com/cygwin-ug-net/using-cygwinenv.html. You may need to unset it to get this to work for you (don't forget to unload the DLL after removing 'tty') 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/