Windows NT Systems Programming

[ Home | Syllabus |Course Notes]


How to Compile Version 2

Version 2 consists of two separate programs. One for the Server and one for the Client.

I will give directions for the server program. You will also need to repeat them for the client.

I store the two programs in separate directories.

There is a test of the message object in the "Test" directory under the "Client" directory.

In adding full functionality to version 2, I found three additional WIN32 FILE APIs which needed RPC conversions. I also decided to limit folder names to a flat naming space. Some additional oversights with respect to GetLastError also surfaced which we will talk about.


Downloading Version 2

From The Browser

From the Lab, all files are accessible from

~wild/public_html/Programs


Compiling using Visual C++ IDE

Repeat this for the client files (you can restart vc++ or close the current workspace).


Compiling from a Console Window


Executing the Program from VC++ IDE

Click "Build/Execute server.exe"

Start up another vc++ program, and click "Build/Execute client.exe"


Executing the Program from Console Window

In the Console Window

Start another console window and start "client.exe"


Copyright chris wild 1997.
For problems or questions regarding this web contact [Dr. Wild].
Last updated: September 06, 1997.