Skip to Content
0

How to get version of application built by Powerbuilder?

Dec 01, 2016 at 02:46 PM

346

avatar image
Former Member

I'm trying to get the file/product version number of the application built by Powerbuilder.

A quick google gave me this:

FUNCTION integer GetFileVersionInfoA &
   ( REF string lpFilename, REF ulong lpdwHandle, ulong dwLen, &
     REF string lpData )  &
   LIBRARY "version.dll"

This will solve my problem as long as i know where the .exe file is installed, but it feels like there should be an easier way.

Is there no better way to get the version of the powerbuilder application which we are currently executing?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Dec 01, 2016 at 06:18 PM
0

This sample app has two features. One returns version info from a file and the other returns version info about the operating system.

http://www.topwizprogramming.com/freecode_osversion.html

Share
10 |10000 characters needed characters left characters exceeded