At 11:57 26/04/2001 -0500, you wrote:
>Can anyone tell me what the TracingApp.prc is that comes with Palm Reporter?
>I'm hoping it's something that works the way Palm Reporter does, only on the
>Palm.  I can find absolutely nothing to document it, and when I install it
>on my Palm it shows up as Tracer Test.  When I run it, I shows a scrollable
>field with a bunch of text items listed in it.  Does anyone know how it
>works or if there's documentation somewhere?

It's a demo of Palm Reporters functions.

>If this isn't what I'm hoping it is, can anyone suggest a way to capture
>debug information for later perusal?  One approach I'm considering is to
>write to the Memo Pad database, so that I can either view it in Memo Pad or
>HotSync it with my PC and view it there (preferable).  But I don't know the
>format for the database.

Get the latest copy of Pose, copy HostControl.h from Pose over the one you 
get in the 3.5 SDK. (Making a backup of the file might be a good idea...)

Copy PalmTrace.dll  from the zip you got Palm Reporter from into the same 
directory as Emulator.exe

Then #include <HostControl.h> in your source file.

HostTraceInit();
HostTraceOutputTL(appErrorClass, "Hello, world");
HostTraceClose();

With display hello world when run on Pose (make sure Settings -> Tracing 
options in the Pose menu is set to Output: Palm Reporter and Target: Localhost)

Complete docs come with Palm Reporter - look at the Reporter guide html 
file in the Documentation directory.


-- 
Toby Boreham


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

Reply via email to