News for hackers. Stuff that matters.
Re:What it takes to pass a file path to a Windows API in C++ by jeroenhd on Monday September 25, 2023 @10:23AM (#37644272)
That's the thing, it really depends on what you're trying to accomplish. If you're trying to move the mouse as if some remote program was a mouse attached to your computer, generating inputs makes sense. If you provide some kind of remote support application that just needs to make the mouse appear at the place the remote tech indicates, changing the raw cursor makes sense.

Both approaches are reasonable and both are implemented in desktop operating systems for this reason.

There are no comments on this comment yet.