This is from Poser's source code (which in turn is taken from the AboutBox.c
file in the Palm OS Source Code distribution):


          // 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);
          }







"Mike Davis" <[EMAIL PROTECTED]> on 07/16/99 08:27:09 PM

Please respond to [EMAIL PROTECTED]

Sent by:  "Mike Davis" <[EMAIL PROTECTED]>


To:   [EMAIL PROTECTED]
cc:    (Keith Rollin/HQ/3Com)
Subject:  Getting Application Version: Programatically




How does one obtain the version number of an app (not an app db)
programatically?

Thanks
--
-----------------------------------------------------------------
Discussion Group:        http://www.halcyon.com/ipscone/wwwboard/

Protect your constitutional rights. Your favorite one may be next!
-----------------------------------------------------------------






Reply via email to