Hi,
first of all thank you for this project, it's working and that's very important :). I want to use a VNC client in my application and so I was looking for a C# implementation. This one is working, although when I looked closely at the code, it's not meant to be used as a component, so I had to rewrite it :) . I've optimized the Render mechanism, greatly optimized ReadRawRect(Rectangle rect) (replaced Bitmap.Setpixel with something much faster) , so if you're interested I can share that to you (contact me via email).
To my request:
1. I would like to have smoother mouse pointer moving (I'm interested only in DT solution). I know it's not a matter of rendering, it's matter of sending mouse movement updates to server. Can you help me with that?
2. I would like to optionally disable mouse rendering (on server) and just get updates about Cursor type from server (to apply it on client, so mouse movement would look perfectly smooth).
Logged In: YES
user_id=490198
Originator: NO
1) My implementation relies on OnMouseMove(). Have you tried using a timer?
2) If you haven't done so, please get a copy of UltraVNC Viewer's source code. There is a implementation of local cursor that I never got a chance to put in.
Logged In: YES
user_id=1631337
Originator: YES
1. I'm looking at another implementation too (VncShapr). They also use OnMouseMove() and it is perfectly smooth. I can't figure out where is the difference. It's completely different code but in the end it looks to be the same functionality. You have also implemented some features that they didn't so I would like to use yours, but the mouse movement is annoying :)) ....
2. I'll try
thanx for answer.
Logged In: YES
user_id=490198
Originator: NO
Do you have a count of how many times OnMouseMove is called per second in VncSharp and in .NET VNC Viewer? Maybe it's because .NET VNC Viewer generates too many timer events, and Windows does not raise as many OnMouseMove events for .NET VNC Viewer. Just want to verify that it is in fact related to the number of OnMouseMove events that .NET VNC Viewer is getting.