I keep getting the following compiler error when trying to use the GetActiveWindow API.
Error 1 error #6423: This name has already been used as an external function name. [GETACTIVEWINDOW]
My code segment is as follows:
hWnd = GetActiveWindow
I haven't declared, used or even mentioned GetActiveWindow anywhere else in my project. What am I doing wrong? Is the problem related to the fact that the function has no parameters passed into it?