summaryrefslogtreecommitdiff
path: root/examples/DLL
diff options
context:
space:
mode:
Diffstat (limited to 'examples/DLL')
-rw-r--r--examples/DLL/Dll.dsw53
-rw-r--r--examples/DLL/Magazine.h42
-rw-r--r--examples/DLL/Main.dsp90
-rw-r--r--examples/DLL/Makefile43
-rw-r--r--examples/DLL/Makefile.Newsweek43
-rw-r--r--examples/DLL/Makefile.Today47
-rw-r--r--examples/DLL/Newsweek.cpp29
-rw-r--r--examples/DLL/Newsweek.dsp107
-rw-r--r--examples/DLL/Newsweek.h45
-rw-r--r--examples/DLL/README47
-rw-r--r--examples/DLL/Today.cpp29
-rw-r--r--examples/DLL/Today.dsp108
-rw-r--r--examples/DLL/Today.h46
-rw-r--r--examples/DLL/test_dll.cpp78
14 files changed, 0 insertions, 807 deletions
diff --git a/examples/DLL/Dll.dsw b/examples/DLL/Dll.dsw
deleted file mode 100644
index 3a577e31e68..00000000000
--- a/examples/DLL/Dll.dsw
+++ /dev/null
@@ -1,53 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 5.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "Main"=.\Main.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Newsweek"=.\Newsweek.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Today"=.\Today.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/examples/DLL/Magazine.h b/examples/DLL/Magazine.h
deleted file mode 100644
index 4810fb73baa..00000000000
--- a/examples/DLL/Magazine.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// ===========================================================
-//
-//
-// = LIBRARY
-// ACE_wrappers/examples/DLL
-//
-// = FILENAME
-// Magazine.h
-//
-// = DESCRIPTION
-// Abstract class whose methods are implemented by the derived
-// classes.
-//
-// = AUTHOR
-// Kirthika Parameswaran <kirthika@cs.wustl.edu>
-//
-// ===========================================================
-
-#ifndef MAGAZINE_H
-#define MAGAZINE_H
-
-class Magazine
-{
- // = TITLE
- // This is an abstract class used in the DLL example.
- //
- // = DESCRIPTION
- // This class simply is an inetrface which the derived classes
- // will exploit.
-public:
-
- virtual ~Magazine (void) {};
- // No-op vitrual destructor.
-
- virtual void title (void) = 0;
- // This method gives the title of the magazine.
-};
-
-#endif /* MAGAZINE_H */
diff --git a/examples/DLL/Main.dsp b/examples/DLL/Main.dsp
deleted file mode 100644
index 884aff00109..00000000000
--- a/examples/DLL/Main.dsp
+++ /dev/null
@@ -1,90 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Main" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Main - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Main.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Main.mak" CFG="Main - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Main - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "Main - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Main - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\ace"
-
-!ELSEIF "$(CFG)" == "Main - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\ace"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Main - Win32 Release"
-# Name "Main - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\test_dll.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/examples/DLL/Makefile b/examples/DLL/Makefile
deleted file mode 100644
index 42b72709abd..00000000000
--- a/examples/DLL/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#----------------------------------------------------------------------------
-# $Id$
-#
-# Makefile for the DLL example
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-BIN = test_dll
-
-FILES = test_dll
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-TODAY:
- make -f Makefile.Today
-
-NEWSWEEK:
- make -f Makefile.Newsweek
-
-all: TODAY NEWSWEEK $(BIN)
-
-#----------------------------------------------------------------------------
-# Local targets
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
diff --git a/examples/DLL/Makefile.Newsweek b/examples/DLL/Makefile.Newsweek
deleted file mode 100644
index 167610a252c..00000000000
--- a/examples/DLL/Makefile.Newsweek
+++ /dev/null
@@ -1,43 +0,0 @@
-#----------------------------------------------------------------------------
-# $Id$
-#
-# Makefile for the Newsweek library in the DLL example
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-
-
-SHLIB = libNewsweek.$(SOEXT)
-
-FILES = Newsweek
-
-LSRC = $(addsuffix .cpp,$(FILES))
-
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-#----------------------------------------------------------------------------
-# Local targets
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
diff --git a/examples/DLL/Makefile.Today b/examples/DLL/Makefile.Today
deleted file mode 100644
index c1ffa8a73be..00000000000
--- a/examples/DLL/Makefile.Today
+++ /dev/null
@@ -1,47 +0,0 @@
-#----------------------------------------------------------------------------
-# $Id$
-#
-# Makefile for the Today library in the DLL example
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-
-
-SHLIB = libToday.$(SOEXT)
-
-
-FILES = Today
-
-
-
-LSRC = $(addsuffix .cpp,$(FILES))
-
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-#----------------------------------------------------------------------------
-# Local targets
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-
diff --git a/examples/DLL/Newsweek.cpp b/examples/DLL/Newsweek.cpp
deleted file mode 100644
index 0a6c63dc1ff..00000000000
--- a/examples/DLL/Newsweek.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
-// $Id$
-
-#define ACE_BUILD_SVC_DLL
-
-#include "Newsweek.h"
-
-// Implementation of the abstract class method which describes
-// the magazine.
-
-void Newsweek::title (void)
-{
- ACE_DEBUG ((LM_DEBUG,
- "Newsweek: Vol 23 Dec87\n"));
-}
-
-// Returns the Newsweek class pointer.
-// The ACE_BUILD_SVC_DLL and ACE_Svc_Export directives are necessary as take care
-// of exporting the function for Win32 platforms.
-extern "C" ACE_Svc_Export Magazine *create_magazine (void);
-
-Magazine *
-create_magazine (void)
-{
- Magazine *mag;
- ACE_NEW_RETURN (mag,
- Newsweek,
- 0);
- return mag;
-}
diff --git a/examples/DLL/Newsweek.dsp b/examples/DLL/Newsweek.dsp
deleted file mode 100644
index f15255f7dca..00000000000
--- a/examples/DLL/Newsweek.dsp
+++ /dev/null
@@ -1,107 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Newsweek" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=Newsweek - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Newsweek.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Newsweek.mak" CFG="Newsweek - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Newsweek - Win32 Release" (based on\
- "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "Newsweek - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Newsweek - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir ""
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "../../" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
-# ADD LINK32 ace.lib /nologo /subsystem:windows /dll /machine:I386 /libpath:"..\..\ace"
-
-!ELSEIF "$(CFG)" == "Newsweek - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir ""
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\\" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /LD /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\ace"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Newsweek - Win32 Release"
-# Name "Newsweek - Win32 Debug"
-# Begin Group "Header files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Newsweek.h
-# End Source File
-# End Group
-# Begin Group "Source files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Newsweek.cpp
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/examples/DLL/Newsweek.h b/examples/DLL/Newsweek.h
deleted file mode 100644
index 65f2a36f5d6..00000000000
--- a/examples/DLL/Newsweek.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// ===========================================================
-//
-// = LIBRARY
-// ACE_wrappers/examples/DLL
-//
-// = FILENAME
-// Newsweek.h
-//
-// = DESCRIPTION
-// This is a derived class from Magazine which is a magazine
-// pertaining to news and information.
-//
-// = AUTHOR
-// Kirthika Parameswaran <kirthika@cs.wustl.edu>
-//
-// ===========================================================
-
-#ifndef NEWSWEEK_H
-#define NEWSWEEK_H
-
-#include "ace/OS.h"
-#include "Magazine.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-class Newsweek : public Magazine
-{
- //= TITLE
- // This is an derived class of Magazine.
- //
- //= DESCRIPTION
- // Polymoriphism is exploited and an object pointer
- // of Magazine is bound to the Newsweek object at runtime.
-public:
-
- void title (void);
- // This is the abstract class method which describes the magazine.
-};
-
-# endif /* NEWSWEEK_H */
diff --git a/examples/DLL/README b/examples/DLL/README
deleted file mode 100644
index 716b2c2b628..00000000000
--- a/examples/DLL/README
+++ /dev/null
@@ -1,47 +0,0 @@
-$Id$
-
-DLL Test Example
-----------------
-
-This example deals with dynamically opening objects and accessing
-methods from it.
-
-First, the pointer to the object is obtained by accessing symbol
-of the function which can get the object pointer. Then the methods
-in that library object is accessed.
-
-Here, the Magazine class is an abstract class with various magazine
-objects like Newsweek and Today deriving form it. The libraries are
-dynamically linked on demand. Thus, they can be changed on the fly
-and accessed with its new changes.
-
-The ACE_DLL class used in this example is an helper class for
-performing various operations on the library object.
-
-Compilation and Execution:
--------------------------
-
-1. On POSIX/UNIX platforms:
-
- First, build the test program, which you can do on UNIX as follows:
-
- % make
-
- Then run the test program:
-
- % test_dll
-
- to exercise the test.
-
-
-2. On NT or any Win32 platform:
-
- Load Dll.dsw which contains Test_dll.dsp, Today.dsp and Newsweek.dsp.
-
- Build each dsp such that you build Test_dll.dsp last.
- This is because the test_dll.exe will be using Today.dll and Newsweek.dll.
-
- Execute test_dll
-
- and watch it run!
-
diff --git a/examples/DLL/Today.cpp b/examples/DLL/Today.cpp
deleted file mode 100644
index 8ee8b986b25..00000000000
--- a/examples/DLL/Today.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
-// $Id$
-
-#define ACE_BUILD_SVC_DLL
-
-#include "Today.h"
-
-// Implementation of the abstract class method which describes the
-// magazine.
-
-void
-Today::title (void)
-{
- ACE_DEBUG ((LM_DEBUG,
- "Today: Information Technology Special Nov98\n"));
-}
-
-// Returns the pointer to the Today class.
-// The ACE_BUILD_SVC_DLL and ACE_Svc_Export directives are necessary as take care
-// of exporting the function for Win32 platforms.
-extern "C" ACE_Svc_Export Magazine *create_magazine (void);
-
-Magazine *create_magazine (void)
-{
- Magazine *mag;
- ACE_NEW_RETURN (mag,
- Today,
- 0);
- return mag;
-}
diff --git a/examples/DLL/Today.dsp b/examples/DLL/Today.dsp
deleted file mode 100644
index 4a5490db331..00000000000
--- a/examples/DLL/Today.dsp
+++ /dev/null
@@ -1,108 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Today" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=Today - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Today.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Today.mak" CFG="Today - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Today - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "Today - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Today - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir ""
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GR /GX /I "..\..\\" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
-# ADD LINK32 ace.lib /nologo /subsystem:windows /dll /machine:I386 /libpath:"..\..\ace"
-
-!ELSEIF "$(CFG)" == "Today - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir ""
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /GR /GX /I "..\..\\" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\ace"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Today - Win32 Release"
-# Name "Today - Win32 Debug"
-# Begin Group "Header files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Today.h
-# End Source File
-# End Group
-# Begin Group "Source files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Today.cpp
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/examples/DLL/Today.h b/examples/DLL/Today.h
deleted file mode 100644
index 3e27b63b1c6..00000000000
--- a/examples/DLL/Today.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// ===========================================================
-//
-// = LIBRARY
-// ACE_wrappers/examples/DLL
-//
-// = FILENAME
-// Today.h
-//
-// = DESCRIPTION
-// This class denotes the Today magazine which is derived from
-// Magazine.
-//
-// = AUTHOR
-// Kirthika Parameswaran <kirthika@cs.wustl.edu>
-//
-// ===========================================================
-
-#ifndef TODAY_H
-#define TODAY_H
-
-#include "ace/OS.h"
-#include "Magazine.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-class Today : public Magazine
-{
- // = TITLE
- // This is an derived class of Magazine.
- //
- // = DESCRIPTION
- // Polymoriphism is exploited and an object pointer of Magazine
- // is bound to the Today object at runtime.
-public:
-
- void title (void);
- // The virtual abstract class method which returns the title of the
- // magazine.
-};
-
-#endif /* TODAY_H */
diff --git a/examples/DLL/test_dll.cpp b/examples/DLL/test_dll.cpp
deleted file mode 100644
index 45df35c4f87..00000000000
--- a/examples/DLL/test_dll.cpp
+++ /dev/null
@@ -1,78 +0,0 @@
-// $Id$
-
-// This program tests out how the various objects can be loaded
-// dynamically and method calls made on them.
-
-#include "Magazine.h"
-#include "ace/DLL.h"
-#include "ace/Auto_Ptr.h"
-
-ACE_RCSID(DLL, test_dll, "$Id$")
-
-typedef Magazine* (*Magazine_Creator) (void);
-
-int
-main (int argc, char *argv[])
-{
- ACE_UNUSED_ARG (argc);
- ACE_UNUSED_ARG (argv);
-
- ACE_DLL dll;
-
- int retval = dll.open ("./" ACE_DLL_PREFIX "Today" ACE_DLL_SUFFIX);
-
- if (retval != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%s",
- dll.error ()),
- -1);
- Magazine_Creator mc;
-
- mc = (Magazine_Creator) dll.symbol ("create_magazine");
-
- if (mc == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%s",
- dll.error ()),
- -1);
- {
- auto_ptr <Magazine> magazine (mc ());
-
- magazine->title ();
- }
-
- dll.close ();
-
- // The other library is now loaded on demand.
-
- retval = dll.open ("./" ACE_DLL_PREFIX "Newsweek" ACE_DLL_SUFFIX);
-
- if (retval != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%s",
- dll.error ()),
- -1);
-
- mc = (Magazine_Creator) dll.symbol ("create_magazine");
-
- if (mc == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%s",
- dll.error ()),
- -1);
- {
- auto_ptr <Magazine> magazine (mc ());
-
- magazine->title ();
- }
-
- dll.close ();
-
- return 0;
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class auto_ptr <Magazine>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate auto_ptr <Magazine>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */