diff options
-rw-r--r-- | ChangeLog-98a | 10 | ||||
-rw-r--r-- | TAO/ChangeLog-98c | 5 | ||||
-rw-r--r-- | TAO/tao/poa.h | 3 | ||||
-rw-r--r-- | ace/Msg_WFMO_Reactor.cpp | 4 | ||||
-rw-r--r-- | ace/Msg_WFMO_Reactor.h | 4 | ||||
-rw-r--r-- | ace/Reactor.cpp | 5 | ||||
-rw-r--r-- | ace/ace_dll.dsp | 1225 | ||||
-rw-r--r-- | examples/Reactor/ReactorEx/Prerun_State_Changes.dsp | 59 | ||||
-rw-r--r-- | examples/Reactor/ReactorEx/Window_Messages.dsp | 58 | ||||
-rw-r--r-- | examples/Reactor/ReactorEx/reactorex.dsw | 12 | ||||
-rw-r--r-- | examples/Reactor/ReactorEx/test_window_messages.cpp | 85 | ||||
-rw-r--r-- | examples/Reactor/WFMO_Reactor/Prerun_State_Changes.dsp | 59 | ||||
-rw-r--r-- | examples/Reactor/WFMO_Reactor/Window_Messages.dsp | 58 | ||||
-rw-r--r-- | examples/Reactor/WFMO_Reactor/reactorex.dsw | 12 | ||||
-rw-r--r-- | examples/Reactor/WFMO_Reactor/test_window_messages.cpp | 85 |
15 files changed, 524 insertions, 1160 deletions
diff --git a/ChangeLog-98a b/ChangeLog-98a index 8e3e8440ae7..d0b9a9641d3 100644 --- a/ChangeLog-98a +++ b/ChangeLog-98a @@ -1,3 +1,13 @@ +Tue Mar 17 23:22:20 1998 Irfan Pyarali <irfan@cs.wustl.edu> + + * ace/Reactor.cpp (ACE_Reactor): If + ACE_USE_MSG_WFMO_REACTOR_FOR_REACTOR_IMPL is defined, use + ACE_Msg_WFMO_Reactor for ACE_Reactor::instance(). + + * examples/Reactor/ReactorEx/test_window_messages.cpp: Tests + Msg_WFMO_Reactor's ability to handle regular events and window + messages. + Tue Mar 17 21:41:57 1998 David L. Levine <levine@cs.wustl.edu> * examples/Threads/task_five.cpp (svc): use ACE_OS::sleep diff --git a/TAO/ChangeLog-98c b/TAO/ChangeLog-98c index f85629f002a..b876c7c8d97 100644 --- a/TAO/ChangeLog-98c +++ b/TAO/ChangeLog-98c @@ -1,3 +1,8 @@ +Tue Mar 17 23:28:59 1998 Irfan Pyarali <irfan@cs.wustl.edu> + + * tao/poa.h (POA): Changed the LOCATION_RESULT enum from protected + to private. + Tue Mar 17 13:20:05 1998 David L. Levine <levine@cs.wustl.edu> * tests/Cubit/TAO/IDL_Cubit (print_stats): with diff --git a/TAO/tao/poa.h b/TAO/tao/poa.h index 6bb709d4f90..965285fd9d1 100644 --- a/TAO/tao/poa.h +++ b/TAO/tao/poa.h @@ -589,6 +589,8 @@ protected: char c, int pos = TAO_POA::String::npos) const; +// Should really be protected, but some compilers complain +public: enum LOCATION_RESULT { FOUND, @@ -597,6 +599,7 @@ protected: NOT_FOUND }; +protected: virtual LOCATION_RESULT locate_servant_i (const TAO_ObjectKey &key, PortableServer::Servant &servant, CORBA::Environment &env); diff --git a/ace/Msg_WFMO_Reactor.cpp b/ace/Msg_WFMO_Reactor.cpp index 1b0fb0aa84c..ad9d6c74621 100644 --- a/ace/Msg_WFMO_Reactor.cpp +++ b/ace/Msg_WFMO_Reactor.cpp @@ -2,10 +2,10 @@ #define ACE_BUILD_DLL -#if defined (ACE_WIN32) - #include "ace/Msg_WFMO_Reactor.h" +#if defined (ACE_WIN32) + #if !defined (__ACE_INLINE__) #include "ace/Msg_WFMO_Reactor.i" #endif /* __ACE_INLINE__ */ diff --git a/ace/Msg_WFMO_Reactor.h b/ace/Msg_WFMO_Reactor.h index a2c26f2e9f3..139577ea500 100644 --- a/ace/Msg_WFMO_Reactor.h +++ b/ace/Msg_WFMO_Reactor.h @@ -9,8 +9,8 @@ // Msg_WFMO_Reactor.h // // = AUTHOR -// Beskrovny Evgeny, Comverse Network Systems -// Irfan Pyarali +// Beskrovny Evgeny, Comverse Network Systems (evgeny_beskrovny@icomverse.com) +// Irfan Pyarali, Washington University (irfan@cs.wustl.edu) // // ============================================================================ diff --git a/ace/Reactor.cpp b/ace/Reactor.cpp index 356922c31c6..624884bdebe 100644 --- a/ace/Reactor.cpp +++ b/ace/Reactor.cpp @@ -7,6 +7,7 @@ #if !defined (ACE_HAS_WINCE) # include "ace/Service_Config.h" # include "ace/WFMO_Reactor.h" +# include "ace/Msg_WFMO_Reactor.h" #endif /* !ACE_HAS_WINCE */ #include "ace/Select_Reactor.h" #include "ace/Object_Manager.h" @@ -28,7 +29,11 @@ ACE_Reactor::ACE_Reactor (ACE_Reactor_Impl *impl) #if !defined (ACE_WIN32) || !defined (ACE_HAS_WINSOCK2) || (ACE_HAS_WINSOCK2 == 0) || defined (ACE_USE_SELECT_REACTOR_FOR_REACTOR_IMPL) ACE_NEW (impl, ACE_Select_Reactor); #else /* We are on Win32 and we have winsock and ACE_USE_SELECT_REACTOR_FOR_REACTOR_IMPL is not defined */ + #if defined (ACE_USE_MSG_WFMO_REACTOR_FOR_REACTOR_IMPL) + ACE_NEW (impl, ACE_Msg_WFMO_Reactor); + #else ACE_NEW (impl, ACE_WFMO_Reactor); + #endif /* ACE_USE_MSG_WFMO_REACTOR_FOR_REACTOR_IMPL */ #endif /* !defined (ACE_WIN32) || !defined (ACE_HAS_WINSOCK2) || (ACE_HAS_WINSOCK2 == 0) || defined (ACE_USE_SELECT_REACTOR_FOR_REACTOR_IMPL) */ this->implementation (impl); this->delete_implementation_ = 1; diff --git a/ace/ace_dll.dsp b/ace/ace_dll.dsp index ecb457e5a2d..9db487338c0 100644 --- a/ace/ace_dll.dsp +++ b/ace/ace_dll.dsp @@ -317,28 +317,28 @@ LINK32=link.exe # PROP Intermediate_Dir "EmuCE"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
-CPP=cl.exe
-# ADD BASE CPP /nologo /W3 /Gm /Zi /Od /Gy /I "..\STL" /I "..\\" /D "UNDER_CE" /D "UNICODE" /D "_UNICODE" /D "WIN32" /D "STRICT" /D _WIN32_WCE=200 /D "_WIN32_WCE_EMULATION" /D "INTERNATIONAL" /D "USA" /D "INTLMSG_CODEPAGE" /D "_DEBUG" /D "x86" /D "i486" /D "_x86_" /D ACE_HAS_DLL=1 /FD /c
-# SUBTRACT BASE CPP /YX /Yc /Yu
-# ADD CPP /nologo /W3 /Gm /Zi /Od /Gy /I "..\STL" /I "..\\" /D "UNDER_CE" /D "UNICODE" /D "_UNICODE" /D "WIN32" /D "STRICT" /D _WIN32_WCE=200 /D "_WIN32_WCE_EMULATION" /D "INTERNATIONAL" /D "USA" /D "INTLMSG_CODEPAGE" /D "_DEBUG" /D "x86" /D "i486" /D "_x86_" /D ACE_HAS_DLL=1 /D ACE_HAS_WINCE=1 /FD /c
-# SUBTRACT CPP /YX /Yc /Yu
-RSC=rc.exe
-# ADD BASE RSC /l 0x409 /d "UNDER_CE" /d "UNICODE" /d "_UNICODE" /d "WIN32" /d "STRICT" /d _WIN32_WCE=200 /d "_WIN32_WCE_EMULATION" /d "INTERNATIONAL" /d "USA" /d "INTLMSG_CODEPAGE" /d "_DEBUG" /d "x86" /d "i486" /d "_x86_"
-# ADD RSC /l 0x409 /d "UNDER_CE" /d "UNICODE" /d "_UNICODE" /d "WIN32" /d "STRICT" /d _WIN32_WCE=200 /d "_WIN32_WCE_EMULATION" /d "INTERNATIONAL" /d "USA" /d "INTLMSG_CODEPAGE" /d "_DEBUG" /d "x86" /d "i486" /d "_x86_"
-MTL=midl.exe
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo /o".\ace.bsc"
-# ADD BSC32 /nologo /o".\ace.bsc"
+EMPFILE=empfile.exe
+# ADD BASE EMPFILE -COPY
+# ADD EMPFILE -COPY
LINK32=link.exe
# ADD BASE LINK32 commctrl.lib coredll.lib winmm.lib ole32m.lib oleautm.lib msvcrt.lib uuid.lib asfcguid.lib asfc.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib /nologo /subsystem:windows /dll /pdb:".\ace.pdb" /debug /machine:IX86 /nodefaultlib:"msvcrtd.lib" /out:".\aced.dll" /pdbtype:sept
# SUBTRACT BASE LINK32 /pdb:none /incremental:no
# ADD LINK32 commctrl.lib coredll.lib advapi32.lib /nologo /subsystem:windows /dll /pdb:".\ace.pdb" /debug /machine:IX86 /nodefaultlib:"msvcrtd.lib" /out:".\aced.dll" /pdbtype:sept
# SUBTRACT LINK32 /pdb:none /incremental:no
-EMPFILE=empfile.exe
-# ADD BASE EMPFILE -COPY
-# ADD EMPFILE -COPY
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo /o".\ace.bsc"
+# ADD BSC32 /nologo /o".\ace.bsc"
+MTL=midl.exe
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+RSC=rc.exe
+# ADD BASE RSC /l 0x409 /d "UNDER_CE" /d "UNICODE" /d "_UNICODE" /d "WIN32" /d "STRICT" /d _WIN32_WCE=200 /d "_WIN32_WCE_EMULATION" /d "INTERNATIONAL" /d "USA" /d "INTLMSG_CODEPAGE" /d "_DEBUG" /d "x86" /d "i486" /d "_x86_"
+# ADD RSC /l 0x409 /d "UNDER_CE" /d "UNICODE" /d "_UNICODE" /d "WIN32" /d "STRICT" /d _WIN32_WCE=200 /d "_WIN32_WCE_EMULATION" /d "INTERNATIONAL" /d "USA" /d "INTLMSG_CODEPAGE" /d "_DEBUG" /d "x86" /d "i486" /d "_x86_"
+CPP=cl.exe
+# ADD BASE CPP /nologo /W3 /Gm /Zi /Od /Gy /I "..\STL" /I "..\\ /D "UNDER_CE" /D "UNICODE" /D "_UNICODE" /D "WIN32" /D "STRICT" /D _WIN32_WCE=200 /D "_WIN32_WCE_EMULATION" /D "INTERNATIONAL" /D "USA" /D "INTLMSG_CODEPAGE" /D "_DEBUG" /D "x86" /D "i486" /D "_x86_" /D ACE_HAS_DLL=1 /FD /c
+# SUBTRACT BASE CPP /YX /Yc /Yu
+# ADD CPP /nologo /W3 /Gm /Zi /Od /Gy /I "..\STL" /I "..\\ /D "UNDER_CE" /D "UNICODE" /D "_UNICODE" /D "WIN32" /D "STRICT" /D _WIN32_WCE=200 /D "_WIN32_WCE_EMULATION" /D "INTERNATIONAL" /D "USA" /D "INTLMSG_CODEPAGE" /D "_DEBUG" /D "x86" /D "i486" /D "_x86_" /D ACE_HAS_DLL=1 /D ACE_HAS_WINCE=1 /FD /c
+# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
@@ -354,28 +354,28 @@ EMPFILE=empfile.exe # PROP Intermediate_Dir "SHCE"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
-CPP=shcl.exe
-# ADD BASE CPP /nologo /MLd /W3 /GX- /Zi /Od /Gy /I "..\STL" /I "..\\" /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D "UNDER_CE" /D "UNICODE" /D ACE_HAS_DLL=1 /D _WIN32_WCE=200 /FD /c
-# SUBTRACT BASE CPP /YX /Yc /Yu
-# ADD CPP /nologo /MTd /W3 /GX- /Zi /Od /Gy /I "..\STL" /I "..\\" /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D "UNDER_CE" /D "UNICODE" /D ACE_HAS_DLL=1 /D _WIN32_WCE=200 /D ACE_HAS_WINCE=1 /FD /c
-# SUBTRACT CPP /YX /Yc /Yu
-RSC=rc.exe
-# ADD BASE RSC /l 0x409 /r /d "SHx" /d "SH3" /d "_SH3_" /d "UNDER_CE" /d "UNICODE" /d "DEBUG" /d _WIN32_WCE=200
-# ADD RSC /l 0x409 /r /d "SHx" /d "SH3" /d "_SH3_" /d "UNDER_CE" /d "UNICODE" /d "DEBUG" /d _WIN32_WCE=200
-MTL=midl.exe
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo /o".\ace.bsc"
-# ADD BSC32 /nologo /o".\ace.bsc"
+PFILE=pfile.exe
+# ADD BASE PFILE COPY
+# ADD PFILE COPY
LINK32=link.exe
# ADD BASE LINK32 advapi32.lib commctrl.lib coredll.lib /nologo /subsystem:windowsce,2.0 /windowsce:noconvert /dll /pdb:".\ace.pdb" /debug /machine:SH3 /out:".\aced.dll" /pdbtype:sept
# SUBTRACT BASE LINK32 /fixed:no /pdb:none /nodefaultlib
# ADD LINK32 advapi32.lib commctrl.lib coredll.lib /nologo /subsystem:windowsce,2.0 /windowsce:noconvert /dll /pdb:".\ace.pdb" /debug /machine:SH3 /out:".\aced.dll" /pdbtype:sept
# SUBTRACT LINK32 /fixed:no /pdb:none /nodefaultlib
-PFILE=pfile.exe
-# ADD BASE PFILE COPY
-# ADD PFILE COPY
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo /o".\ace.bsc"
+# ADD BSC32 /nologo /o".\ace.bsc"
+MTL=midl.exe
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+RSC=rc.exe
+# ADD BASE RSC /l 0x409 /r /d "SHx" /d "SH3" /d "_SH3_" /d "UNDER_CE" /d "UNICODE" /d "DEBUG" /d _WIN32_WCE=200
+# ADD RSC /l 0x409 /r /d "SHx" /d "SH3" /d "_SH3_" /d "UNDER_CE" /d "UNICODE" /d "DEBUG" /d _WIN32_WCE=200
+CPP=shcl.exe
+# ADD BASE CPP /nologo /MLd /W3 /GX- /Zi /Od /Gy /I "..\STL" /I "..\\ /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D "UNDER_CE" /D "UNICODE" /D ACE_HAS_DLL=1 /D _WIN32_WCE=200 /FD /c
+# SUBTRACT BASE CPP /YX /Yc /Yu
+# ADD CPP /nologo /MTd /W3 /GX- /Zi /Od /Gy /I "..\STL" /I "..\\ /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D "UNDER_CE" /D "UNICODE" /D ACE_HAS_DLL=1 /D _WIN32_WCE=200 /D ACE_HAS_WINCE=1 /FD /c
+# SUBTRACT CPP /YX /Yc /Yu
!ENDIF
@@ -4558,6 +4558,33 @@ NODEP_CPP_METHO=\ # End Source File
# Begin Source File
+SOURCE=.\Msg_WFMO_Reactor.cpp
+
+!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
+
+!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
+
+!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
+
+!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
+
+!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
+
+!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
+
+!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
+
+!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
+
+!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
+
+!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
+
+!ENDIF
+
+# End Source File
+# Begin Source File
+
SOURCE=.\Multiplexor.cpp
!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
@@ -13278,6 +13305,10 @@ SOURCE=.\Module.h # End Source File
# Begin Source File
+SOURCE=.\Msg_WFMO_Reactor.h
+# End Source File
+# Begin Source File
+
SOURCE=.\Multiplexor.h
# End Source File
# Begin Source File
@@ -13898,6 +13929,10 @@ SOURCE=.\Module.i # End Source File
# Begin Source File
+SOURCE=.\Msg_WFMO_Reactor.i
+# End Source File
+# Begin Source File
+
SOURCE=.\Multiplexor.i
# End Source File
# Begin Source File
@@ -14232,1256 +14267,134 @@ SOURCE=.\Acceptor.cpp # Begin Source File
SOURCE=.\Auto_Ptr.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Containers.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Dump_T.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Free_List.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Hash_Map_Manager.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\IOStream_T.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Local_Name_Space_T.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Malloc_T.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Map_Manager.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Message_Queue.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Module.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Singleton.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Strategies_T.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Stream.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Stream_Modules.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Synch_T.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Task_T.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Timer_Hash_T.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Timer_Heap_T.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Timer_List_T.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Timer_Queue_T.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# Begin Source File
SOURCE=.\Timer_Wheel_T.cpp
-
-!IF "$(CFG)" == "ACE dynamic library - Win32 Debug"
-
# PROP BASE Exclude_From_Build 1
# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 Alpha Unicode Release"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE x86em) CE emul Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ELSEIF "$(CFG)" == "ACE dynamic library - Win32 (WCE SH) Debug"
-
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
# End Source File
# End Group
# Begin Group "Documentation"
diff --git a/examples/Reactor/ReactorEx/Prerun_State_Changes.dsp b/examples/Reactor/ReactorEx/Prerun_State_Changes.dsp new file mode 100644 index 00000000000..10e7f0f6b82 --- /dev/null +++ b/examples/Reactor/ReactorEx/Prerun_State_Changes.dsp @@ -0,0 +1,59 @@ +# Microsoft Developer Studio Project File - Name="Prerun_State_Changes" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 5.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Console Application" 0x0103
+
+CFG=Prerun_State_Changes - 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 "Prerun_State_Changes.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 "Prerun_State_Changes.mak"\
+ CFG="Prerun_State_Changes - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "Prerun_State_Changes - Win32 Debug" (based on\
+ "Win32 (x86) Console Application")
+!MESSAGE
+
+# Begin Project
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Prerun_S"
+# PROP BASE Intermediate_Dir "Prerun_S"
+# 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 /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /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
+# Begin Target
+
+# Name "Prerun_State_Changes - Win32 Debug"
+# Begin Source File
+
+SOURCE=.\test_prerun_state_changes.cpp
+# End Source File
+# End Target
+# End Project
diff --git a/examples/Reactor/ReactorEx/Window_Messages.dsp b/examples/Reactor/ReactorEx/Window_Messages.dsp new file mode 100644 index 00000000000..ee2c78a0b64 --- /dev/null +++ b/examples/Reactor/ReactorEx/Window_Messages.dsp @@ -0,0 +1,58 @@ +# Microsoft Developer Studio Project File - Name="Window_Messages" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 5.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Console Application" 0x0103
+
+CFG=Window_Messages - 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 "Window_Messages.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 "Window_Messages.mak" CFG="Window_Messages - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "Window_Messages - Win32 Debug" (based on\
+ "Win32 (x86) Console Application")
+!MESSAGE
+
+# Begin Project
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Window_M"
+# PROP BASE Intermediate_Dir "Window_M"
+# 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 /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /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 user32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
+# Begin Target
+
+# Name "Window_Messages - Win32 Debug"
+# Begin Source File
+
+SOURCE=.\test_window_messages.cpp
+# End Source File
+# End Target
+# End Project
diff --git a/examples/Reactor/ReactorEx/reactorex.dsw b/examples/Reactor/ReactorEx/reactorex.dsw index ab36ca6154b..9fe25164e69 100644 --- a/examples/Reactor/ReactorEx/reactorex.dsw +++ b/examples/Reactor/ReactorEx/reactorex.dsw @@ -135,6 +135,18 @@ Package=<4> ###############################################################################
+Project: "Window_Messages"=.\Window_Messages.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
Global:
Package=<5>
diff --git a/examples/Reactor/ReactorEx/test_window_messages.cpp b/examples/Reactor/ReactorEx/test_window_messages.cpp new file mode 100644 index 00000000000..dc9f4e9cf45 --- /dev/null +++ b/examples/Reactor/ReactorEx/test_window_messages.cpp @@ -0,0 +1,85 @@ +// $Id$ +// +// ============================================================================ +// +// = LIBRARY +// examples +// +// = FILENAME +// test_window_messages.cpp +// +// = DESCRIPTION +// +// Tests the Msg_WFMO_Reactor's ability to handle regular events +// and window messages. +// +// = AUTHOR +// +// Irfan Pyarali +// +// ============================================================================ + +#include "ace/Msg_WFMO_Reactor.h" +#include "ace/Auto_Ptr.h" + +class Event_Handler : public ACE_Event_Handler +{ +public: + int handle_signal (int signum, siginfo_t * = 0, ucontext_t * = 0); + + ACE_Auto_Event handle_; + int iterations_; +}; + +int +Event_Handler::handle_signal (int signum, siginfo_t *, ucontext_t *) +{ + ACE_DEBUG ((LM_DEBUG, + "handling signal: %d iterations left\n", + --this->iterations_)); + + if (this->iterations_ == 0) + ACE_Reactor::end_event_loop (); + + return 0; +} + +Event_Handler event_handler; + +void WINAPI +timer_callback (HWND hwnd, + UINT uMsg, + UINT idEvent, + DWORD dwTime) +{ + ACE_DEBUG ((LM_DEBUG, "(%t) timeout occured @ %d\n", dwTime)); + + event_handler.handle_.signal (); +} + +int +main (void) +{ + // Manage memory automagically. + // Note that ordering here is important. + ACE_Reactor_Impl *impl = new ACE_Msg_WFMO_Reactor; + auto_ptr<ACE_Reactor> reactor (new ACE_Reactor (impl)); + ACE_Reactor::instance (reactor.get ()); + auto_ptr<ACE_Reactor_Impl> delete_impl (impl); + + event_handler.iterations_ = 5; + ACE_ASSERT (ACE_Reactor::instance ()->register_handler (&event_handler, + event_handler.handle_.handle ()) == 0); + + ACE_Time_Value timeout (1); + ACE_ASSERT (::SetTimer (NULL, // handle of window for timer messages + NULL, // timer identifier + timeout.msec (), // time-out value + (TIMERPROC) &timer_callback // address of timer procedure + ) != 0); + + ACE_Reactor::run_event_loop (); + + return 0; +} + diff --git a/examples/Reactor/WFMO_Reactor/Prerun_State_Changes.dsp b/examples/Reactor/WFMO_Reactor/Prerun_State_Changes.dsp new file mode 100644 index 00000000000..10e7f0f6b82 --- /dev/null +++ b/examples/Reactor/WFMO_Reactor/Prerun_State_Changes.dsp @@ -0,0 +1,59 @@ +# Microsoft Developer Studio Project File - Name="Prerun_State_Changes" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 5.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Console Application" 0x0103
+
+CFG=Prerun_State_Changes - 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 "Prerun_State_Changes.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 "Prerun_State_Changes.mak"\
+ CFG="Prerun_State_Changes - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "Prerun_State_Changes - Win32 Debug" (based on\
+ "Win32 (x86) Console Application")
+!MESSAGE
+
+# Begin Project
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Prerun_S"
+# PROP BASE Intermediate_Dir "Prerun_S"
+# 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 /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /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
+# Begin Target
+
+# Name "Prerun_State_Changes - Win32 Debug"
+# Begin Source File
+
+SOURCE=.\test_prerun_state_changes.cpp
+# End Source File
+# End Target
+# End Project
diff --git a/examples/Reactor/WFMO_Reactor/Window_Messages.dsp b/examples/Reactor/WFMO_Reactor/Window_Messages.dsp new file mode 100644 index 00000000000..ee2c78a0b64 --- /dev/null +++ b/examples/Reactor/WFMO_Reactor/Window_Messages.dsp @@ -0,0 +1,58 @@ +# Microsoft Developer Studio Project File - Name="Window_Messages" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 5.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Console Application" 0x0103
+
+CFG=Window_Messages - 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 "Window_Messages.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 "Window_Messages.mak" CFG="Window_Messages - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "Window_Messages - Win32 Debug" (based on\
+ "Win32 (x86) Console Application")
+!MESSAGE
+
+# Begin Project
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Window_M"
+# PROP BASE Intermediate_Dir "Window_M"
+# 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 /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /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 user32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
+# Begin Target
+
+# Name "Window_Messages - Win32 Debug"
+# Begin Source File
+
+SOURCE=.\test_window_messages.cpp
+# End Source File
+# End Target
+# End Project
diff --git a/examples/Reactor/WFMO_Reactor/reactorex.dsw b/examples/Reactor/WFMO_Reactor/reactorex.dsw index ab36ca6154b..9fe25164e69 100644 --- a/examples/Reactor/WFMO_Reactor/reactorex.dsw +++ b/examples/Reactor/WFMO_Reactor/reactorex.dsw @@ -135,6 +135,18 @@ Package=<4> ###############################################################################
+Project: "Window_Messages"=.\Window_Messages.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
Global:
Package=<5>
diff --git a/examples/Reactor/WFMO_Reactor/test_window_messages.cpp b/examples/Reactor/WFMO_Reactor/test_window_messages.cpp new file mode 100644 index 00000000000..dc9f4e9cf45 --- /dev/null +++ b/examples/Reactor/WFMO_Reactor/test_window_messages.cpp @@ -0,0 +1,85 @@ +// $Id$ +// +// ============================================================================ +// +// = LIBRARY +// examples +// +// = FILENAME +// test_window_messages.cpp +// +// = DESCRIPTION +// +// Tests the Msg_WFMO_Reactor's ability to handle regular events +// and window messages. +// +// = AUTHOR +// +// Irfan Pyarali +// +// ============================================================================ + +#include "ace/Msg_WFMO_Reactor.h" +#include "ace/Auto_Ptr.h" + +class Event_Handler : public ACE_Event_Handler +{ +public: + int handle_signal (int signum, siginfo_t * = 0, ucontext_t * = 0); + + ACE_Auto_Event handle_; + int iterations_; +}; + +int +Event_Handler::handle_signal (int signum, siginfo_t *, ucontext_t *) +{ + ACE_DEBUG ((LM_DEBUG, + "handling signal: %d iterations left\n", + --this->iterations_)); + + if (this->iterations_ == 0) + ACE_Reactor::end_event_loop (); + + return 0; +} + +Event_Handler event_handler; + +void WINAPI +timer_callback (HWND hwnd, + UINT uMsg, + UINT idEvent, + DWORD dwTime) +{ + ACE_DEBUG ((LM_DEBUG, "(%t) timeout occured @ %d\n", dwTime)); + + event_handler.handle_.signal (); +} + +int +main (void) +{ + // Manage memory automagically. + // Note that ordering here is important. + ACE_Reactor_Impl *impl = new ACE_Msg_WFMO_Reactor; + auto_ptr<ACE_Reactor> reactor (new ACE_Reactor (impl)); + ACE_Reactor::instance (reactor.get ()); + auto_ptr<ACE_Reactor_Impl> delete_impl (impl); + + event_handler.iterations_ = 5; + ACE_ASSERT (ACE_Reactor::instance ()->register_handler (&event_handler, + event_handler.handle_.handle ()) == 0); + + ACE_Time_Value timeout (1); + ACE_ASSERT (::SetTimer (NULL, // handle of window for timer messages + NULL, // timer identifier + timeout.msec (), // time-out value + (TIMERPROC) &timer_callback // address of timer procedure + ) != 0); + + ACE_Reactor::run_event_loop (); + + return 0; +} + |