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 [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/