Debug strings on PDA

Is there a way to output debug strings on a P/CE device?  
If you're using DevStudio and have a P/CE device hooked up to the serial port, OutputDebugString writes to your main machine.  I'd like a way to write debug strings to the P/CE device.
don23Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

iarlaCommented:
I do not fully understand you needs. OutputDebugString under windows CE writes the string to the debug window of Devstudio. That is the whole purpose of the API.

If you want to write debug string on a PDA ..

use the good old fashion techniques
1. Create a file and write the strings to it
2. Use WM_COPYDATA to send debug data to another application on the CE device
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lennerthjCommented:
I have to go with iarla.  If you want to write to the P/CE device. use printf.  If you only have the devlepment tools (no platform Builder) you won't be able to redirect the current output strings.  
0
don23Author Commented:
That's pretty much what I wanted to confirm.  We're looking to print the debug msgs out on the pda, not Dev Studio on the "main" computer.

So it looks like its WM_COPYDATA land for me!

Thanks,
Don
0
iarlaCommented:
Your are welcome
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Smartphone Programming

From novice to tech pro — start learning today.