Hi,

We have one program that is taking current cursor position in timer
with GetCursorPos().

In normal exe its working fine.We have changed the program in to
service.

Now In service mode the GetCursurPos return true but values are given
by the function are garbage values.

we changed function with GetMessagePos but the result is same.

Any body know how to make it work.

We had also tried to get desktop rights to our service with
OpenDesktop and SetThreadDesktop but

SetThreadDesktop function failed with error code 170.

If anybody knows about this problem please let me know the solution.

Thank you,

Regards,
Jay.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to