Function calls are case sensitive. If the function is declared as all lower case in the modules you'll need to change it from "getdesktopwindow" to "GetDesktopWindow".
Terry
X-) "I don't have a solution, but I admire your problem."
You may check references (module window <Tools>;<References>) and set up referense to "Microsoft DAO 3.6 Object Library" for MS Access 2000 or "Microsoft DAO 3.53 Object Library" for MS Access 97 if you don't it have. Then change its priority to position 3 with arrays.
Thanks to Aivars for pointing out my misstatement regarding function calls. What I should have said is 32-bit API function names are case sensitive. This is according to Microsoft Article Q210115.
API function names are case-sensitive. This differs from the 16-bit API, which is not case-sensitive. For example, in a 16-bit API call, the following statements are equivalent:
Declare Function GetVersion Lib "KERNEL" () as Long
Declare Function gEtVeRsIoN Lib "KERNEL" () as Long
However, when converted to a 32-bit API, the following statements are not equivalent because the function names are case-sensitive:
Declare Function GetVersion Lib "KERNEL32" () as Long
Declare Function gEtVeRsIoN Lib "KERNEL32" () as Long
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.