Is it valid to use advapi32 to read a windows registry from a procedure running from AppServer. OE11.7.2  64-bit on Windows server 2012 r2

The procedure in question runs as intended from a client session running prowin32, without AppServer. 

The procedure in question runs as intended from AppServer with OE11.5.2 64-bit on Windows server 2012 r2

 

Article

HOW TO READ A WINDOWS REGISTRY KEY CALLING A WIN32 API

https://knowledgebase.progress.com/articles/Article/21622?q=appserver+advapi32&l=en_US&fs=Search&pn=1