Yes thats what I meant, thanks very much for testing that.    Oh darn I
wonder why my code returns the OS version, but at least I know it is
somthing in my code.  Anyone else use this code without problem?

Chris

Scott Johnson (Bellevue) <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> From: Chris Percival [mailto:[EMAIL PROTECTED]
> > is this code expected to return the application version number
> > as set with constructor?  On OS 3.2 it works but on OS 3.5
> > it returns what looks like the OS version (3.5.2).
> >
> >   h = DmGetResource(verRsc, appVersionID);
> >   if (!h) h = DmGetResource(verRsc, appVersionAlternateID);
>
> Do you mean, is it supposed to return the version of your own app, or the
> version of some other app that you have explicitly opened?
>
> If the former: your chunk of code returns my own app's version resource
just
> fine in OS 3.5.  I didn't test the latter case.
>
> -slj-
>
>
>
>
>





-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to