summaryrefslogtreecommitdiff
path: root/TAO/examples/Borland/ChatClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Borland/ChatClient.cpp')
-rw-r--r--TAO/examples/Borland/ChatClient.cpp48
1 files changed, 0 insertions, 48 deletions
diff --git a/TAO/examples/Borland/ChatClient.cpp b/TAO/examples/Borland/ChatClient.cpp
deleted file mode 100644
index 95d9f4e8e8e..00000000000
--- a/TAO/examples/Borland/ChatClient.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-// $Id$
-//---------------------------------------------------------------------------
-#include "pch.h"
-#pragma hdrstop
-#include <ace/ace.h>
-#include <tao/corba.h>
-#include "ChatClientWnd.h"
-USERES("ChatClient.res");
-USEFORM("ChatClientWnd.cpp", ChatClientWindow);
-USEUNIT("BroadcasterC.cpp");
-USEUNIT("BroadcasterS.cpp");
-USEUNIT("ReceiverC.cpp");
-USEUNIT("ReceiverS.cpp");
-USEUNIT("ReceiverImpl.cpp");
-//---------------------------------------------------------------------------
-WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
-{
- ACE::init ();
-
- try
- {
- Application->Initialize ();
- Application->Title = "CORBA Chat Client";
- Application->CreateForm (__classid (TChatClientWindow), &ChatClientWindow);
- Application->Run ();
- }
- catch (Exception &exception)
- {
- Application->ShowException (&exception);
- }
- catch (CORBA::Exception &exception)
- {
- ShowMessage (String ("CORBA exception: ") + exception._id ());
- }
- catch (...)
- {
- ShowMessage ("Unknown exception");
- }
-
- // Must explicitly free the window to ensure the orb is shut down
- // before ACE::fini is called.
- delete ChatClientWindow;
-
- ACE::fini ();
-
- return 0;
-}
-//---------------------------------------------------------------------------