Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieving the EXE version
Message
From
01/04/1998 11:38:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00088701
Message ID:
00088713
Views:
47
>>It would be nice if I could retrieve the EXE version number at runtime so that I can display it in the title bar of the application. I notice that the build button of the project manager has an auto increment of the EXE version.
>>
>>Is there a function that can retrieve this function automatically ?
>>
>>Gerry.
>
>You can use the GetFileVersion() function in FOXTOOLS. This applies only to 32 bit applications, BTW.
Hi George,
GetFileVersion, I think, uses "GetFileVersionVersionInfo" and "GetFileVersionVersionInfoSize" in Win32API. When I try to use them I get "cannot find entry point in ...". Of course my real question is regarding to any function giving this error. I can handle some of them by checking the related dll. Do you have a general suggestion ?
Thanks
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform