In Poser 3.0a3 and all previous versions, sysTrapHostControl is defined in
HostControl.h, right above where HOST_TRAP is defined.
-- Keith Rollin
-- Palm OS Emulator engineer
Robert Herold <[EMAIL PROTECTED]> on 01/21/2000 12:36:30 PM
Please respond to [EMAIL PROTECTED]
Sent by: Robert Herold <[EMAIL PROTECTED]>
To: "'palm-dev-forum @ls.3com.com'" <[EMAIL PROTECTED]>
cc: (Keith Rollin/HQ/3Com)
Subject: Where is sysTrapHostControl defined
I'm trying to write code that figures out if I am running on the emulator or
not. The include file that comes with the emulator, HostControl.h, has
declarations for just the function I need: HostID HostGetHostID (void);
Trouble is, that devolves to a trap, sysTrapHostControl, and I cannot find
the trap definition anywhere in the emulator sources or in the System
headers.
Anyone know where I can find the definition, or failing that, what the trap
number is?
-- bob
====================
Robert Herold (650) 627-3302
Webvan Group, Inc (650) 627-3948 (fax)
310 Lakeside Drive [EMAIL PROTECTED]
Foster City, CA 94404 www.webvan.com