From: Johann Obermayr on
Hello,

i have create a small sample with VS2005 C++ for Windows Pocket Emulator.

int main there is a printf and a Message.
The message box is shown, but the printf text not. Why ?
What must i do, to create a console window under Windows Pocket.

Thanks for help
Jimmy
From: Chris Tacke, eMVP on
Pocket PC devices have no COnsole to output to. You can install
PocketConsole or similar to get one.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com

"Johann Obermayr" <Johann_rm_(a)rm_fam-obermayr.rm.at> wrote in message
news:%23nmSg%23toIHA.3900(a)TK2MSFTNGP05.phx.gbl...
> Hello,
>
> i have create a small sample with VS2005 C++ for Windows Pocket Emulator.
>
> int main there is a printf and a Message.
> The message box is shown, but the printf text not. Why ?
> What must i do, to create a console window under Windows Pocket.
>
> Thanks for help
> Jimmy


From: Anonymous on
On Apr 20, 3:11 pm, Johann Obermayr <Johann_rm_(a)rm_fam-obermayr.rm.at>
wrote:
> Hello,
>
> i have create a small sample with VS2005 C++ for Windows Pocket Emulator.
>
> int main there is a printf and a Message.
> The message box is shown, but the printf text not. Why ?
> What must i do, to create a console window under Windows Pocket.
>
> Thanks for help
> Jimmy

By default, the wm's stdout (this is were you printf's are sending
data to) is redirected to the serial port of the device/emulator.
If you're using emulator, you can go to it's Properties window, there
go to Peripherals tab, and check the checkbox, which says "Create text
console window for serial port 1".

If you're debugging on real device - you should read data somehow from
that port.

Note, that that debug output is for all applications running on your
device/emulator, so you'll see the output not only from your app ;).