At 00:22 2002-11-16 -0500, you wrote:
Hi,

I'm working on a STDIO application which I hope to use for some palm
debugging since i'm used to printf statements for debugging. (Feel free to
offer suggestions on alternatives to this ;) )
See http://www.palmoswerks.com/stories/storyReader$21 for a look at lots of ways of logging information from a Palm OS program, including some that even resemble printf.

I've followed the instructions in the Palm Programming Companion and
Reference on how to produce a StdIO application. I've created a form with a
text field and a scroll bar.

I've generated a basic Form Event handler and Application event handler,
which as pretty much copied from the references.

What I can't seem to do is get this program running. It says to setup the
targe to Siomain instead of PilotMain, but if I do this, nothing runs at
all. Nor can I replicate the functionality of PilotMain in the Siomain
(generated by me) since I don't know if action codes, parameter blocks or
launchflags are being pass into the Siomain...
There's very little support for stdio apps -- you need a stdio provider (which provides input/output), and then a stdio client.

One way to launch these is to go to "Prefs", go to the "Network" panel, and then hit "View Log". You'll be dumped into a stdio provider app, from which you can run your app. You can also run "ping" to test it out. Looking at the resource databases on the device.

stdio-apps that can be used from the network log panel have a few properties worth noting. Their database names are "Cmd-<command>", and they have type 'sdio', rather than 'appl'. Otherwise, they look like normal applications.

I hope this helps... enjoy!

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to