I’ve returned from a 2-year, 18,000 mile bicycle tour of South American Bicycle and find myself working at the same company. I’ve been tasked to build yet another scheduling application.
I’m using some code that I had developed back in 2000. All works fine except for one thing.
The function (COM) MousePositionGantArea returns 0,0 for the last known mouseposition. Do you know if there is a problem using this method on Windows XP?
We made a code breaking change here at one point (totally against our policy and it will not happen again (?!)). The change we made was to switch from using reference integer values, to reference Variant values as parameters for the call.
We made this change to allow the call to made from VB-Script that only supports Variants as return parameters.
So you need to change the code from
dim x,y as int
dim x,y as Variant