>From the Poser source code:

     // Get the version from the 'tver' resource, using ID's 1 and 1000

     strH = ::DmGet1Resource (verRsc, appVersionID);
     if (strH == NULL)
          strH = ::DmGet1Resource (verRsc, appVersionAlternateID);
     if (strH)
     {
          uaecptr   strP = (uaecptr) ::MemHandleLock (strH);
          uae_strcpy (appVersion, strP);
          ::MemHandleUnlock (strH);
          ::DmReleaseResource (strH);
     }

In this code, "uaecptr" is a pointer into emulated memory, and uae_strcpy
is a version of strcpy that copies from emulated memory into a local
variable. verRsc, appVersionID, and appVersionAlternateID are all standard
Palm OS defines. strH is a VoidHand, and appVersion is a char[256];

-- Keith Rollin
-- Palm OS Emulator engineer






"Michael S. Davis" <[EMAIL PROTECTED]> on 05/14/99 08:29:41 AM

Please respond to [EMAIL PROTECTED]

Sent by:  "Michael S. Davis" <[EMAIL PROTECTED]>


To:   [EMAIL PROTECTED]
cc:    (Keith Rollin/HQ/3Com)
Subject:  POSE Question: App Version Number





I notice that when POSE detects an error, the popup
always says "SomeApp (unknown version)...".  Where
does it get this version info?  I have a version set
in my preferences.  Should I see a version number for
the error, in POSE?


----------------------------------------------------
Shoot-to-Win
Protect the 2nd Amendment
----------------------------------------------------






Reply via email to