Hi Steve,

I couldn't work out what it did either, so I used the facility to write to a
host file:

void _trace(char *text)
{
        HostFILE*       hf = HostFOpen("c:\\emulator.log","a");
        HostFPrintF(hf,"@%ld: %s\n",game.time_into_game,text);
        HostFClose(hf);
}

This quite neatly appends to the end of a file, *but* it does slow down
performance a lot. A neater way would be to open the file once and close it
at the end, but I suspect that a crash would leave you in trouble...

Hope that's of use!

David
---
David Oakley - [EMAIL PROTECTED] - ICQ 9610512
partner, Astraware - http://www.astraware.com/
New: Zap!2000 for Palm: http://www.astraware.com/palm/zap2000/?dsig


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Steve
> Mann
> Sent: 04 March 2000 20:12
> To: Palm Developer Forum
> Subject: POSE Logging Info
> <LYR3109-10494-2000.03.04-11.40.57--smann#[EMAIL PROTECTED]>
>
>
> If you turn on specific logging options in POSE (3.0a4), does anyone
> have any idea where that info gets logged to? No files are created as
> far as I can tell. Any clues?
>
> I'm trying to track events with POSE like I used to be able to with
> the Simulator because I can't get the simulator working with any of
> my projects using the latest 3.5. Has anyone had any success with
> that?
>
> Thanks.
>
> Regards,
> Steve Mann
> -------------------------------------------
> Creative Digital Publishing Inc.
> 1315 Palm Street, San Luis Obispo, CA 93401-3117
> -------------------------------------------
> 805.784.9461              805.784.9462 (fax)
> [EMAIL PROTECTED]       http://www.cdpubs.com
>
> --
> For information on using the Palm Developer Forums, or to
> unsubscribe, please see http://www.palm.com/devzone/mailinglists.html
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to