cancel
Showing results for 
Search instead for 
Did you mean: 

How to get version of application built by Powerbuilder?

0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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