I don't know how they do it ... but I do it something like this (note that
you have to try two different IDs for the version resource!):
// get app info from resources
//- ainRsc(tAIN) = app name ID=ainID(1000)
hAIN = DmGet1Resource(ainRsc, ainID);
if (hAIN) {
szAIN = MemHandleLock(hAIN);
}
//- verRsc(tver) = version string (ID=appVersionID(1) or
appVersionAlternateID(1000))
// (GCC tends to use appVersionID, CW uses appVersionAlternateID)
hver = DmGet1Resource(verRsc, appVersionAlternateID); // I use CW, check
this first
if (!hver)
hver = DmGet1Resource(verRsc, appVersionID);
if (hver) {
szVER = MemHandleLock(hver);
}
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi/sec: not just a good idea, it's the LAW!
SvenÅke Andersson wrote in message <[EMAIL PROTECTED]>...
>
>How does AbtShowAbout find the version number and the name of the
>application by using the Creator ID ?
>
>--
>SvenÅke Andersson
>Above Software
>[EMAIL PROTECTED]
>+46-(0)705-529842
>
>
>
>
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/