The following code seems to do the job:

#include "HostControl.h"

static void StartApplication(void)  
{
  switch (HostGetHostID())  
  {
    case hostIDPalmOS:
      // do one thing
      break;
    case hostIDPalmOSEmulator:
      // do another thing
      break;    
  }
}

As mentioned before, the OS must be checked to see if it's version 3.0 or
later.  I'm still curious as to what the POSE feature is that is described
below:

*    Install a 'pose' feature so that applications can tell 
if they are running under Poser or not.

Gary Miller
CIBER, INC

Reply via email to