O$10.22: GetEnvironmentVariableW

Grzegorz (Greg) Pasternak gpasternak at cogeco.ca
Fri Aug 26 19:38:56 UTC 2022



The following code works on Windows 10 64bit in Omnis Studio 5.1
Register DLL ('kernel32.dll','GetEnvironmentVariableW','JCC')
Call DLL ('kernel32.dll','GetEnvironmentVariableW','COMPUTERNAME',vComputerName) Returns vError

but it does not work on Windows 10 64bit in Omnis Studio 10.22

Any suggestions why?

Grzegorz (Greg) Pasternak







More information about the omnisdev-en mailing list