console io



Hello anyone,

I'm playing around with console io and one
problem is driving me nuts. I enabled STDIO over serial
and it works just nice with command processor. However
if I run another application from the command prompt and
this app does console io as well (for instance using "wprintf"
routine) nothing appears in the output. Here is a dump:

---------------------------------------------------------------

Pocket CMD v 5.0
\> dir
Directory of \

01/01/98 04:00a <DIR> Release
12/31/99 04:01p <DIR> My Documents
12/31/99 04:01p <DIR> Program Files
12/31/99 04:01p <DIR> Documents and Settings
12/31/99 04:01p <DIR> Temp
12/31/99 04:01p <DIR> Windows

Found 6 file(s). Total size 0 bytes.
1 Dir(s) 28540468 bytes free

\>hello.exe
\>

---------------------------------------------------------------

hello.exe is just several lines:



#include <windows.h>

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
{
wprintf(TEXT("Hello World!\n"));
return 0;
}


I'm able to debug all the printf stuff up to the "_putc_lk" routine which I think
must print out the char. However nothing is printed ... Any ideas?

Thanks.



.