

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


This project requires you to build a COM in-process component to support message-passing communication between two processes that reside on the same machine 1. You will demonstrate the operation of this communicator by sending XML commands, and copying files, between two different processes. You must assume that the files may be binary, so you cannot directly pass blocks of data using XML messages, but will have to convert file data to text form, perhaps using base64 conversion^2 , or use a lower-level binary transfer process. Each process that hosts a communication component is, itself, an out-of-process COM component. These are started by client interface processes, as shown in Figure 1. You are asked to implement the interfaces as Win32 windows programs^3. The client interfaces are COM clients of the out-of-process components, and support the transfer of files from one machine to another by selecting paths and files which the COM hosts transfer. In subsequent projects we will use this mechanism to transfer execution images to run on remote machines. Thus, one end of this link will support user selection of files to send^4 , and the other will display the current count of blocks received and, when complete, a message that displays directory properties of the file, e.g., name, size, and date.
Your Communicator system:
for use by the interface clients. Thus, the user interfaces should not have to do anything other than to request available files, select one or more, and ask for their transfer to a specified directory.