desktop sharing application using c++

I have downloaded the program from here http://www.tightvnc.com version 2.7.10 and compiled successfully using visual studio 2013.
One is the tvn server and other is the viewer.
We connected successfully the server and viewer using my friend’s laptop pair with server and client interaction.
When the application runs all the control of the server computer goes to client. In other words the viewer computer can even hook the server, perform all the actions that a user can do on a local or personal computer and even shutdown the remote or server computer using application that is even great in positive terms.
But we want to implement/modify the application in such a way that only server can share the screen not the hooking /controlling of entire application by the viewer.
In this regard it is need of removing some .h and .cpp files.
But we do not know what files to remove to achieve the desired goal.
Please tell a way or modify the application in such a way that control never goes to the viewer and always see the screen of the server computer.
Also please tell that when a wrong IP is added through the client/viewer side then the following error comes http://wikisend.com/download/914120/error that we want to find out in the code where it is and want to modify it in some terms.

In Short It can be said that I want to remove the user control that viewer from the server,so that user never gets control of the server computer and tell the files that needs to remove from the project if not then the poossible coding lines.

Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question …

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...