Created On:  20 August 2010


Is it possible to identify the version of the Operating System from an ACUCOBOL-GT program?


ACUCUBL-GT offers a native library called WIN$VERSION.  This routine returns version information for Windows and Windows NT host platforms. However, this routine does not recognize the latest Windows Operating Systems recently introduced on the market.

While WIN$VERSION will be updated, it is possible to obtain this information using a Windows function called GetVersionExA.

The related documentation can be found at this URL:

A sample program is provided attached to this article.
Incident #2450426