Skip to main content

My company received a file called WinTools.ocx from Microfocus a very long time ago, and I am not sure of all the functionality or the call commands.

Does anyone have any documentation on how to use this OCX within RM/COBOL?

My company received a file called WinTools.ocx from Microfocus a very long time ago, and I am not sure of all the functionality or the call commands.

Does anyone have any documentation on how to use this OCX within RM/COBOL?

Unfortunately, the WinTools ActiveX control was created, and maintained, by the now defunct Liant London office. However, below is the documentation that I found in regards to this control:

---------------------------------------

The purpose of WinTools is to extend the existing feature rich Windows specific function calls in WOW. Some of the methods included are briefly described below. Please see the attached WinTools zip for complete documentation.

Methods
-----------
WTGetComputerName - returns the hostname of the system.

WTGetCurrentDirectory - returns the current working directory.

WTGetRegistry - returns the value of a registry key value.

WTGetUserName - returns the username.

WTSetCurrentDirectory - sets the current working directory.

WTSetRegistry - writes a value to a registry key.

WTGetNumberOfProcessors - returns the number of CPUs on the motherboard.

WTDeleteRegistryKeyValue - deletes a registry key value.

WTGetProcessorType - returns the type of CPU on the motherboard.

WTSetSysColor - sets the current color of the specified display element.

WTDeleteRegistryKey - deletes a registry key and it's sub keys.

WTGetLocaleInfo - returns locale specific information.

WTPrintActiveWindow - prints the current active window.

Disclaimer:

WinTools is not an official Liant Software Corporation product and is therefore unsupported.

---------------------------------------

Additionally, below is a link to the latest version of WinTools that I was able to locate:

https://amerftp.microfocus.com/183761/d0a94ea6c7bd5322354baa7ade40ec06/supportline_download/WOWWinTools/WinTools+1.3.0.zip

**The zip archive contains additional documentation, examples, and, the source for WinTools.