Hello All!
I implemented GetForegroundWindow in my PB 2017 R3 application as follows:
Function ulong GetForegroundWindow( ) Library "USER32.DLL"
I call it, capturing the return into an unsignedlong.
This all works fine in the IDE (32 bit), but when I run the 64 bit EXE, GetForegroundWindow always returns 0.
Should I do something different?
Thanks,
Tom