I cannot find the api for getting the file version in ppc. Is there a
RAPI call for GetFileVersion?. The work around I'm thinking of using
is to copy the file to the desktop then use vb's FSO.GetFileVersion
method. If I open a file as binary on the ppc isnt there a location to
the offset--then x bytes in contains the version info?

Regards

Re: File version ppc2002 by r_z_aret

r_z_aret
Mon Sep 08 12:08:18 CDT 2003

Last I checked (at least severa months ago, which is a _long_ time for
CE), the FileVersion functions were not supported under CE. Kenny
Goers wrote a set of classes that include support for version info:
http://www.codeproject.com/ce/kgwince.asp

On 8 Sep 2003 06:47:16 -0700, carlton_30@yahoo.com (Eric) wrote:

>I cannot find the api for getting the file version in ppc. Is there a
>RAPI call for GetFileVersion?. The work around I'm thinking of using
>is to copy the file to the desktop then use vb's FSO.GetFileVersion
>method. If I open a file as binary on the ppc isnt there a location to
>the offset--then x bytes in contains the version info?
>
>Regards

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com

Re: File version ppc2002 by carlton_30

carlton_30
Mon Sep 08 13:59:14 CDT 2003

thx but I could only find OsVersioninfo in the link you posted. Could
someone point me to a reference to find the version info in ppc dlls
and exes on the ppc?

Regards

carlton_30@yahoo.com (Eric) wrote in message news:<55dc334.0309080547.34f597a8@posting.google.com>...
> I cannot find the api for getting the file version in ppc. Is there a
> RAPI call for GetFileVersion?. The work around I'm thinking of using
> is to copy the file to the desktop then use vb's FSO.GetFileVersion
> method. If I open a file as binary on the ppc isnt there a location to
> the offset--then x bytes in contains the version info?
>
> Regards

Re: File version ppc2002 by Udara

Udara
Tue Sep 09 00:29:52 CDT 2003

You need to use GetFileVersionInfoSize, GetFileVersionInfo and VerQueryValue
APIs, in that order.
Look them up in the eVC 3.0 books online.

UG

"Eric" <carlton_30@yahoo.com> wrote in message
news:55dc334.0309081059.64302b0c@posting.google.com...
> thx but I could only find OsVersioninfo in the link you posted. Could
> someone point me to a reference to find the version info in ppc dlls
> and exes on the ppc?
>
> Regards
>
> carlton_30@yahoo.com (Eric) wrote in message
news:<55dc334.0309080547.34f597a8@posting.google.com>...
> > I cannot find the api for getting the file version in ppc. Is there a
> > RAPI call for GetFileVersion?. The work around I'm thinking of using
> > is to copy the file to the desktop then use vb's FSO.GetFileVersion
> > method. If I open a file as binary on the ppc isnt there a location to
> > the offset--then x bytes in contains the version info?
> >
> > Regards



Re: File version ppc2002 by r_z_aret

r_z_aret
Wed Sep 10 12:03:13 CDT 2003

I doubt RAPI includes such functions. But RAPI can work with functions
in a DLL running on the handheld. So you could build a DLL and invoke
it. I _think_ CeRAPIInvoke is the name of an appropriate function.
I've never used RAPI to do this, so I can't help further.

On 9 Sep 2003 07:48:34 -0700, carlton_30@yahoo.com (Eric) wrote:

>Thx ..Is it possible to envoke over/with RAPI?
>
>Regards
>"Udara W Gunawardane" <udarag@spamfree-empriseit.com> wrote in message news:<O1cfqOpdDHA.1620@TK2MSFTNGP12.phx.gbl>...
>> You need to use GetFileVersionInfoSize, GetFileVersionInfo and VerQueryValue
>> APIs, in that order.
>> Look them up in the eVC 3.0 books online.
>>
>> UG
>>
>> "Eric" <carlton_30@yahoo.com> wrote in message
>> news:55dc334.0309081059.64302b0c@posting.google.com...
>> > thx but I could only find OsVersioninfo in the link you posted. Could
>> > someone point me to a reference to find the version info in ppc dlls
>> > and exes on the ppc?
>> >
>> > Regards
>> >
>> > carlton_30@yahoo.com (Eric) wrote in message
>> news:<55dc334.0309080547.34f597a8@posting.google.com>...
>> > > I cannot find the api for getting the file version in ppc. Is there a
>> > > RAPI call for GetFileVersion?. The work around I'm thinking of using
>> > > is to copy the file to the desktop then use vb's FSO.GetFileVersion
>> > > method. If I open a file as binary on the ppc isnt there a location to
>> > > the offset--then x bytes in contains the version info?
>> > >
>> > > Regards

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com

Re: File version ppc2002 by Chris

Chris
Wed Sep 10 13:03:49 CDT 2003

You are correct. CeRapiInvoke is what he's after, and it can definitely do
this (or just about anything since you have to write both ends of the code).

--
Chris Tacke, eMVP
Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net

<r_z_aret@pen_fact.com> wrote in message
news:3f5f494a.13228241@nntp.theworld.com...
> I doubt RAPI includes such functions. But RAPI can work with functions
> in a DLL running on the handheld. So you could build a DLL and invoke
> it. I _think_ CeRAPIInvoke is the name of an appropriate function.
> I've never used RAPI to do this, so I can't help further.
>
> On 9 Sep 2003 07:48:34 -0700, carlton_30@yahoo.com (Eric) wrote:
>
> >Thx ..Is it possible to envoke over/with RAPI?
> >
> >Regards
> >"Udara W Gunawardane" <udarag@spamfree-empriseit.com> wrote in message
news:<O1cfqOpdDHA.1620@TK2MSFTNGP12.phx.gbl>...
> >> You need to use GetFileVersionInfoSize, GetFileVersionInfo and
VerQueryValue
> >> APIs, in that order.
> >> Look them up in the eVC 3.0 books online.
> >>
> >> UG
> >>
> >> "Eric" <carlton_30@yahoo.com> wrote in message
> >> news:55dc334.0309081059.64302b0c@posting.google.com...
> >> > thx but I could only find OsVersioninfo in the link you posted. Could
> >> > someone point me to a reference to find the version info in ppc dlls
> >> > and exes on the ppc?
> >> >
> >> > Regards
> >> >
> >> > carlton_30@yahoo.com (Eric) wrote in message
> >> news:<55dc334.0309080547.34f597a8@posting.google.com>...
> >> > > I cannot find the api for getting the file version in ppc. Is there
a
> >> > > RAPI call for GetFileVersion?. The work around I'm thinking of
using
> >> > > is to copy the file to the desktop then use vb's FSO.GetFileVersion
> >> > > method. If I open a file as binary on the ppc isnt there a location
to
> >> > > the offset--then x bytes in contains the version info?
> >> > >
> >> > > Regards
>
> -----------------------------------------
> To reply to me, remove the underscores (_) from my email address (and
please indicate which newsgroup and message).
>
> Robert E. Zaret
> PenFact, Inc.
> 500 Harrison Ave., Suite 3R
> Boston, MA 02118
> www.penfact.com