diff options
Diffstat (limited to 'examples/Service_Configurator/Misc')
-rw-r--r-- | examples/Service_Configurator/Misc/Makefile | 195 | ||||
-rw-r--r-- | examples/Service_Configurator/Misc/Misc.dsw | 29 | ||||
-rw-r--r-- | examples/Service_Configurator/Misc/README | 6 | ||||
-rw-r--r-- | examples/Service_Configurator/Misc/Timer_Service.cpp | 106 | ||||
-rw-r--r-- | examples/Service_Configurator/Misc/Timer_Service.h | 48 | ||||
-rw-r--r-- | examples/Service_Configurator/Misc/main.cpp | 61 | ||||
-rw-r--r-- | examples/Service_Configurator/Misc/main.dsp | 93 | ||||
-rw-r--r-- | examples/Service_Configurator/Misc/svc.conf | 6 |
8 files changed, 0 insertions, 544 deletions
diff --git a/examples/Service_Configurator/Misc/Makefile b/examples/Service_Configurator/Misc/Makefile deleted file mode 100644 index 1e3d0c72484..00000000000 --- a/examples/Service_Configurator/Misc/Makefile +++ /dev/null @@ -1,195 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -# Makefile for a test of the miscellaneous Service_Config examples -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -BIN = main -LIB = libTimer.a -SHLIB = libTimer.$(SOEXT) - -FILES = Timer_Service - -PSRC = $(addsuffix .cpp,$(BIN)) -LSRC = $(addsuffix .cpp,$(FILES)) - -LDLIBS = -lTimer - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VLIB) $(VSHLIB) $(SHLIBA) $(VBIN) - -#---------------------------------------------------------------------------- -# 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. - -.obj/Timer_Service.o .obj/Timer_Service.so .shobj/Timer_Service.o .shobj/Timer_Service.so: Timer_Service.cpp Timer_Service.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h -.obj/main.o .obj/main.so .shobj/main.o .shobj/main.so: main.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - Timer_Service.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/examples/Service_Configurator/Misc/Misc.dsw b/examples/Service_Configurator/Misc/Misc.dsw deleted file mode 100644 index 820a582a6e9..00000000000 --- a/examples/Service_Configurator/Misc/Misc.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "main"=.\main.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/examples/Service_Configurator/Misc/README b/examples/Service_Configurator/Misc/README deleted file mode 100644 index d02bf5fed62..00000000000 --- a/examples/Service_Configurator/Misc/README +++ /dev/null @@ -1,6 +0,0 @@ -This directory contains an example that illustrates how the ACE -Service Configurator can configure static and dynamic services, both -from the command-line and from a svc.config file. We define several -instances, i.e., Timer_Service_1 and Timer_Service_2 of the SAME -service just to exercise different configuration options. A "real" -application would usually define different services. diff --git a/examples/Service_Configurator/Misc/Timer_Service.cpp b/examples/Service_Configurator/Misc/Timer_Service.cpp deleted file mode 100644 index 82c5e9f5dfc..00000000000 --- a/examples/Service_Configurator/Misc/Timer_Service.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// $Id$ - -#include "Timer_Service.h" - -ACE_RCSID(Misc, Timer_Service, "$Id$") - -int -Timer_Service_1::init (int argc, char *argv[]) -{ - ACE_DEBUG ((LM_DEBUG, - ASYS_TEXT ("in Timer_Service::init, argv[0] = %s, argc == %d\n"), - argv[0], argc)); - - // Printout the <argv> values for sanity's sake. - for (int i = 0; i < argc; i++) - ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("argv[%d] = %s\n"), i, argv[i])); - - int interval = Timer_Service_1::TIMEOUT; - - if (argc > 1) - { - // If the second argument exists use this as the interval for - // the periodic timer. Otherwise, go off every TIMEOUT seconds. - - interval = ACE_OS::atoi (argv[1]); - - if (interval == 0) - interval = Timer_Service_1::TIMEOUT; - } - - if (argc > 2) - { - // If the third argument exists use it to control the maximum - // number of timeouts. - this->max_timeouts_ = ACE_OS::atoi (argv[2]); - - if (this->max_timeouts_ == 0) - this->max_timeouts_ = Timer_Service_1::MAX_TIMEOUTS; - } - - this->cur_timeouts_ = 0; - - // If the fourth argument exists take this as an indication to - // enable tracing. - if (argc > 3) - ACE_Trace::start_tracing (); - else - ACE_Trace::stop_tracing (); - - // Register the timer to go off in 1 second, and then to go off - // every <interval> seconds. - if (ACE_Reactor::instance ()->schedule_timer - (this, - 0, - ACE_Time_Value (1), - ACE_Time_Value (interval)) == -1) - return -1; - else - return 0; -} - -int -Timer_Service_1::handle_timeout (const ACE_Time_Value &tv, - const void *) -{ - ACE_DEBUG ((LM_DEBUG, - ASYS_TEXT ("(%x) in Timer_Service::handle_timeout sec = %d, usec = %d") - ASYS_TEXT (" cur_timeouts = %d, max_timeouts = %d\n"), - this, - tv.sec (), - tv.usec (), - this->cur_timeouts_, - this->max_timeouts_)); - - this->cur_timeouts_++; - - if (this->cur_timeouts_ == this->max_timeouts_) - // Shutdown the test. - return -1; - else - return 0; -} - -int -Timer_Service_1::handle_close (ACE_HANDLE, - ACE_Reactor_Mask) -{ - ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("closing down the timer test\n"))); - - ACE_Reactor::end_event_loop(); - return 0; -} - -// Define the object that describes the service. -ACE_STATIC_SVC_DEFINE (Timer_Service_1, - ASYS_TEXT ("Timer_Service_1"), - ACE_SVC_OBJ_T, - &ACE_SVC_NAME (Timer_Service_1), - ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ, - 0) - -// The following are "Factories" used by the <ACE_Service_Config> and -// svc.conf file to dynamically initialize the state of the Timer -// Services. -ACE_SVC_FACTORY_DEFINE (Timer_Service_1) -ACE_SVC_FACTORY_DEFINE (Timer_Service_2) diff --git a/examples/Service_Configurator/Misc/Timer_Service.h b/examples/Service_Configurator/Misc/Timer_Service.h deleted file mode 100644 index 82f6c1ac222..00000000000 --- a/examples/Service_Configurator/Misc/Timer_Service.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -#include "ace/Service_Config.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -class Timer_Service_1 : public ACE_Service_Object -{ - // = TITLE - // Demonstrates a simple timer service that can be configured - // statically. -public: - virtual int init (int argc, char *argv[]); - // Initialization hook. - - virtual int handle_timeout (const ACE_Time_Value &, - const void *); - // Timeout hook. - - virtual int handle_close (ACE_HANDLE, ACE_Reactor_Mask); - // Close hook. - -private: - enum - { - TIMEOUT = 4, // Wait 4 seconds between timeouts - MAX_TIMEOUTS = 10 // Don't timeout for more than 10 times. - }; - - int max_timeouts_; - // Maximum number of timeouts before shutting down the test. - - int cur_timeouts_; - // Current number of timeouts. -}; - -class Timer_Service_2 : public Timer_Service_1 -{ -}; - -// Declare both static and dynamic services. -ACE_STATIC_SVC_DECLARE (Timer_Service_1) -ACE_SVC_FACTORY_DECLARE (Timer_Service_1) -ACE_SVC_FACTORY_DECLARE (Timer_Service_2) - diff --git a/examples/Service_Configurator/Misc/main.cpp b/examples/Service_Configurator/Misc/main.cpp deleted file mode 100644 index ad0e72d6071..00000000000 --- a/examples/Service_Configurator/Misc/main.cpp +++ /dev/null @@ -1,61 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// examples/Service_Configurator/Misc -// -// = FILENAME -// main.cpp -// -// = DESCRIPTION -// This directory contains an example that illustrates how the ACE -// Service Configurator can configure static and dynamic services, -// both from the command-line and from a svc.config file. -// -// = AUTHOR -// Doug Schmidt <schmidt@cs.wustl.edu> -// -// ============================================================================ - -#include "ace/Service_Config.h" -#include "Timer_Service.h" - -ACE_RCSID(Misc, main, "$Id$") - -// Create an object that will insert the <Timer_Service> into the list -// of statically linked services that the <ACE_Service_Config> will -// process at run-time. -ACE_STATIC_SVC_REQUIRE (Timer_Service_1) - -int -main (int, ASYS_TCHAR *argv[]) -{ - ASYS_TCHAR *l_argv[9]; - - // Manufacture a "fake" svc.conf entry to demonstrate the -S option - // that allows us to pass these entries via the "command-line" - // rather than the svc.conf file. - l_argv[0] = argv[0]; - l_argv[1] = ASYS_TEXT ("-y"); - l_argv[2] = ASYS_TEXT ("-S"); - l_argv[3] = ASYS_TEXT ("static Timer_Service_1 \"timer 1 10 $TRACE\""); - l_argv[4] = ASYS_TEXT ("-S"); - l_argv[5] = ASYS_TEXT ("dynamic Timer_Service_2 Service_Object * ./Timer:_make_Timer_Service_2() \"timer 2 10 $TRACE\""); - // Use the -f option twice to test this feature! - l_argv[6] = ASYS_TEXT ("-fsvc.conf"); - l_argv[7] = ASYS_TEXT ("-fsvc.conf"); - l_argv[8] = 0; - - if (ACE_Service_Config::open (8, l_argv) == -1 && errno != ENOENT) - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("%p\n"), - ASYS_TEXT ("open")), - 1); - - // Run forever, performing the configured services until we - // shutdown. - - ACE_Reactor::run_event_loop (); - return 0; -} diff --git a/examples/Service_Configurator/Misc/main.dsp b/examples/Service_Configurator/Misc/main.dsp deleted file mode 100644 index b9e92c5ba06..00000000000 --- a/examples/Service_Configurator/Misc/main.dsp +++ /dev/null @@ -1,93 +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 Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\..\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D ACE_HAS_SVC_DLL=0 /YX /FD /c
-# 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" /D ACE_HAS_SVC_DLL=0 /YX /FD /c
-# 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=.\main.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Timer_Service.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/examples/Service_Configurator/Misc/svc.conf b/examples/Service_Configurator/Misc/svc.conf deleted file mode 100644 index c9a0997f122..00000000000 --- a/examples/Service_Configurator/Misc/svc.conf +++ /dev/null @@ -1,6 +0,0 @@ -# Statically configure the Timer_Service into the application process -# and pass in up to 4 arguments. The final 3 arguments are retrieved from -# environment variables, so they can be set by changing your -# environment before running the main program. If you don't have -# these variables set they are ignored. -static Timer_Service_1 "timer $INTERVAL $MAX_TIMEOUTS $TRACE" |