Skip to Content
avatar image
Former Member

How to get version of application built by Powerbuilder?

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

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

    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

    Add comment
    10|10000 characters needed characters exceeded