Re: "cout" and "cerr" won't work after cygwin1.dll init from VC++

2006-12-20 Thread Francisco J. Royo Santas
a command-prompt application. How can I write to the command-prompt?? Thanks and G'Bye Quoting Matthew Woehlke: >Francisco J. Royo Santas wrote: > >>I have a VC++ program that uses a Cygwin-compiled DLL. I can init cygwin1.dll >>but, after doing this, cout and cerr stop w

"cout" and "cerr" won't work after cygwin1.dll init from VC++

2006-12-19 Thread Francisco J. Royo Santas
re" << endl; // Appears HMODULE cygwinDll = LoadLibrary("cygwin1.dll"); void (*init)() = (void (__cdecl *)(void)) GetProcAddress(cygwinDll, "cygwin_dll_init"); init(); cout << "After" << endl;// Does nor appear What is going on here?? Wh