Example of Using Multi-User Editing with OdaMfcApp

Oleksandr Shulha

August 22, 2017

This article shows how to launch the "multi-user editor."

Note: The xml schema (TD.txds) must be in the same folder as OdaMfcApp.exe.

image1

Figure 1

  • Choose Tools -> Load Applications to load the necessary libraries: Td_Tf, Td_UndoHistory, and ExMultiUserEdit.
image2

Figure 2

  • Click Load.
image3

Figure 3

  • Load the Td_Tf, Td_UndoHistory, and ExMultiUserEdit libraries as shown below.
image4

Figure 4

image5

Figure 5

image6

Figure 6

  • Verify the load results as shown below.
image7

Figure 7

  • The current application will be the server. This server works using localhost (127.0.0.1:444). Create a new drawing, then run the server by choosing Edit -> Registered Commands -> Multi User Edit -> start_server.
image8

Figure 8

  • Run the client applications by repeating Steps 1-6.
  • Create a new drawing and vectorize it.
image9

Figure 9

  • Send changes to the server by clicking Commit.
image10

Figure 10

  • To get changes on another client, at the client, click Update.
image11

Figure 11

The drawing is drawn on the second client and the changes are updated on the first.

image12

Figure 12

image13

Figure 13