|
-
May 31st, 2006, 06:32 AM
#1
Thread Starter
Hyperactive Member
Help!On remote desktop mouse control!
Hi i'm building a remote desktop program but am having problems with cursor delay.i cant seem to get the cursor to stream on a home network. Like it seem's
to skip all ver the place.I have my program send the coordinates on a timer set to 1000 or (1 second) i have tryed setting it to a faster send time but it seem's to get even more delay im guessing im flooding the trafic so i was wondering if anyone has any suggestions on how to stream cursor control like remote desktop on windows xp.I just finished using remote desktop and they make it look easyso im wondering maybe you guy's could help me sream the cursor maybe post code or something.
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
-
May 31st, 2006, 07:22 AM
#2
Thread Starter
Hyperactive Member
Re: Help!On remote desktop mouse control!
I was also wondering how they refreshed desktop picture on remote desktop.they did it by peices could some one show me that to please.
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
-
May 31st, 2006, 08:18 AM
#3
Re: Help!On remote desktop mouse control!
Windows' remote desktop application is done by sending the drawing commands Windows uses to draw something. This uses remarkably less bandwidth than sending an entire desktop image over the network. The same applies for mouse movement: only mouse position information is sent, not a new image that includes the mouse pointer.
-
Jun 1st, 2006, 04:06 AM
#4
Thread Starter
Hyperactive Member
-
Jun 1st, 2006, 05:08 AM
#5
Thread Starter
Hyperactive Member
Re: Help!On remote desktop mouse control!
i was also wondering what api is the draw function? Because ifound drawwindow and printwindow but cant seem to get the perfect image.Could you please post the code or something.It would really help me out.
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
-
Jun 1st, 2006, 07:40 AM
#6
PowerPoster
Re: Help!On remote desktop mouse control!
Something you could try is to "record" local-side mouse movement as a series of changes every x milliseconds (using a timer that grabs the exact position regularly) then send the series each time and have the remote PC "play" them...it would however be slightly delayed, but it *wouldn't* be stuttered, it'd be smoother :-)
-
Jun 1st, 2006, 07:42 AM
#7
Thread Starter
Hyperactive Member
Re: Help!On remote desktop mouse control!
Ok sound's good ill try it out thank's.
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|