View Desktops Remotely
This is a combination of 3 projects built with Microsoft Visual C++ Ver 5.0. It was developed and run soley on Win NT 4.0 on a Corporate LAN. It has not been tested on other OS's, or over a modem. The goal of these projects is two provide a knowledge base on Sockets programming. Project 1, RemoteDesktopViewer_server.zip, is a Server program which sends it's desktop window in real time to a client program over the internet. Project 2, RemoteDesktopViewer_client.zip, a Client program which displays the desktop of a machine running the server program. Communication over the internet was done by programming sockets version 2.2.
This project also tries to provide another goal. Visual C++ w/o MFC. This project shows how one can write a Visual C++ program using the Win 32 SDK and Message Crackers.
The third project (RemoteDesktopViewer_common.zip) builds a library with which the Server and Client programs use to link. The library is public domain and contains functions to compress data.
Each zip file is a full project for Microsoft Visual C++ ver 5.0 and should be viewed accordingly.
Portions of the code have been written by third parties, through submission to codeguru and other web sites. Credit has been given where it is due in these cases.
Because of the nature of the project, I have taken my IP address out of the code, and am leaving up to the individual to add there IP address for there personal use. The file to do this is called 'Client.c'. It is part of the client window project. There is a #define statement at the top of the code which holds the IP address of the server machine to connect to.
Downloads
Download Common source - 123 KbDownload Client source - 87 Kb
Download Server source - 101 Kb

Comments
getting linker error and resolution problem
Posted by madhavigun on 03/30/2004 12:07amWell Done
Posted by Legacy on 10/02/2003 12:00amOriginally posted by: Richard Dawson
A nice piece of work well done, performance is not too far short of VNC and Proxy (Funk Software).
I found it easier to rename directories to \Client, \Server and \Zip to avoid some of the compile problems, also the project settings for client and server needed changing so that the compression library was linked in correctly (Object / Library Modules on the Project Settings - > Link Tab).
ReplyGreat Work ...... some query
Posted by Legacy on 05/22/2003 12:00amOriginally posted by: SANJAY SAMUEL
Hi Andy,
First of all
Great.......Great.........work.Congrats
secondly
pleae kindly know whether this works on a different LAN network.
Yours
Replysam.
error even on linking
Posted by Legacy on 04/08/2003 12:00amOriginally posted by: prateek
Plz help me out with problem of linking on client and server side even though i have linked them with zip2.lib
err:
ReplyLINK : warning LNK4098: defaultlib "LIBCD" conflicts with use of other libs; use /NODEFAULTLIB:library
Debug/ClientWindow.exe : fatal error LNK1120: 41 unresolved externals
Error executing link.exe.
code in mfc
Posted by Legacy on 03/20/2003 12:00amOriginally posted by: SED V C
Replywork in win 2000
Posted by Legacy on 02/12/2003 12:00amOriginally posted by: Krishnaraj
ReplySource request for remote keyboard and mouse.
Posted by Legacy on 01/08/2003 12:00amOriginally posted by: mickey
Anyone know the coding for remote the keyboard and mouse over the server.Besides that do anyone had add any function to this program?.I need it and post to me.I need it for references in study on remote administration.
ReplyViewer Desktop in len
Posted by Legacy on 07/12/2002 12:00amOriginally posted by: Chirag Soni
What should I do for see server desktop in len. form ethernet card not on modem.
ReplyHow to start the server as soon as the application starts.
Posted by Legacy on 06/25/2002 12:00amOriginally posted by: Neil Devlin
Hi,
ReplyI am wanting to start the server application from another application. I can use shellExec(...) to run the app. but how do I get the server to start automatically?
Link error, unable to execute
Posted by Legacy on 06/04/2002 12:00amOriginally posted by: Dayanandan
ReplyLoading, Please Wait ...