VeeDub
June 28th, 2006, 18:51
Hi,
I have an app that makes calls to GetSystemTimeAsFileTime. I thought as a useful exercise I would replace the call to the API with a call to separate routine where I set the registers to see if I could essentially manipulate the time that the app "see's" by managing the registers.
However even when I set all the registers to the same values, the app subsequently generates an access violation, so clearly there is something that I should be doing but am not.
Thanks
VW
I have an app that makes calls to GetSystemTimeAsFileTime. I thought as a useful exercise I would replace the call to the API with a call to separate routine where I set the registers to see if I could essentially manipulate the time that the app "see's" by managing the registers.
However even when I set all the registers to the same values, the app subsequently generates an access violation, so clearly there is something that I should be doing but am not.
Thanks
VW