summaryrefslogtreecommitdiff
path: root/cpp/demo/IceStorm/counter
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/IceStorm/counter')
-rw-r--r--cpp/demo/IceStorm/counter/IceStorm.counter.client.dsp24
-rw-r--r--cpp/demo/IceStorm/counter/IceStorm.counter.server.dsp24
-rw-r--r--cpp/demo/IceStorm/counter/Server.cpp3
3 files changed, 27 insertions, 24 deletions
diff --git a/cpp/demo/IceStorm/counter/IceStorm.counter.client.dsp b/cpp/demo/IceStorm/counter/IceStorm.counter.client.dsp
index 045aa167f5f..d0ab48b5b4a 100644
--- a/cpp/demo/IceStorm/counter/IceStorm.counter.client.dsp
+++ b/cpp/demo/IceStorm/counter/IceStorm.counter.client.dsp
@@ -1,10 +1,10 @@
-# Microsoft Developer Studio Project File - Name="IceStorm.counter.client" - Package Owner=<4>
+# Microsoft Developer Studio Project File - Name="IceStorm.counter.client.exe" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
-CFG=IceStorm.counter.client - Win32 Debug
+CFG=IceStorm.counter.client.exe - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
@@ -13,12 +13,12 @@ CFG=IceStorm.counter.client - Win32 Debug
!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 "IceStorm.counter.client.mak" CFG="IceStorm.counter.client - Win32 Debug"
+!MESSAGE NMAKE /f "IceStorm.counter.client.mak" CFG="IceStorm.counter.client.exe - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
-!MESSAGE "IceStorm.counter.client - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "IceStorm.counter.client - Win32 Debug" (based on "Win32 (x86) Console Application")
+!MESSAGE "IceStorm.counter.client.exe - Win32 Release" (based on "Win32 (x86) Console Application")
+!MESSAGE "IceStorm.counter.client.exe - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
# Begin Project
@@ -28,7 +28,7 @@ CFG=IceStorm.counter.client - Win32 Debug
CPP=cl.exe
RSC=rc.exe
-!IF "$(CFG)" == "IceStorm.counter.client - Win32 Release"
+!IF "$(CFG)" == "IceStorm.counter.client.exe - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
@@ -51,10 +51,10 @@ BSC32=bscmake.exe
# 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 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 Ice.lib IceUtil.lib setargv.obj /nologo /subsystem:console /pdb:none /machine:I386 /out:"client.exe" /libpath:"../../../lib" /FIXED:no
+# ADD LINK32 Ice.lib IceUtil.lib setargv.obj /nologo /subsystem:console /pdb:none /machine:I386 /out:"client.exe" /libpath:"../../../lib" /FIXED:no /IGNORE:4089
# SUBTRACT LINK32 /debug
-!ELSEIF "$(CFG)" == "IceStorm.counter.client - Win32 Debug"
+!ELSEIF "$(CFG)" == "IceStorm.counter.client.exe - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
@@ -84,8 +84,8 @@ LINK32=link.exe
# Begin Target
-# Name "IceStorm.counter.client - Win32 Release"
-# Name "IceStorm.counter.client - Win32 Debug"
+# Name "IceStorm.counter.client.exe - Win32 Release"
+# Name "IceStorm.counter.client.exe - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
@@ -121,7 +121,7 @@ SOURCE=.\CounterObserverI.h
SOURCE=.\Counter.ice
-!IF "$(CFG)" == "IceStorm.counter.client - Win32 Release"
+!IF "$(CFG)" == "IceStorm.counter.client.exe - Win32 Release"
# Begin Custom Build
InputPath=.\Counter.ice
@@ -136,7 +136,7 @@ BuildCmds= \
$(BuildCmds)
# End Custom Build
-!ELSEIF "$(CFG)" == "IceStorm.counter.client - Win32 Debug"
+!ELSEIF "$(CFG)" == "IceStorm.counter.client.exe - Win32 Debug"
# Begin Custom Build
InputPath=.\Counter.ice
diff --git a/cpp/demo/IceStorm/counter/IceStorm.counter.server.dsp b/cpp/demo/IceStorm/counter/IceStorm.counter.server.dsp
index 3d258ddf0ff..694d9ea4e2b 100644
--- a/cpp/demo/IceStorm/counter/IceStorm.counter.server.dsp
+++ b/cpp/demo/IceStorm/counter/IceStorm.counter.server.dsp
@@ -1,10 +1,10 @@
-# Microsoft Developer Studio Project File - Name="IceStorm.counter.server" - Package Owner=<4>
+# Microsoft Developer Studio Project File - Name="IceStorm.counter.server.exe" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
-CFG=IceStorm.counter.server - Win32 Debug
+CFG=IceStorm.counter.server.exe - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
@@ -13,12 +13,12 @@ CFG=IceStorm.counter.server - Win32 Debug
!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 "IceStorm.counter.server.mak" CFG="IceStorm.counter.server - Win32 Debug"
+!MESSAGE NMAKE /f "IceStorm.counter.server.mak" CFG="IceStorm.counter.server.exe - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
-!MESSAGE "IceStorm.counter.server - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "IceStorm.counter.server - Win32 Debug" (based on "Win32 (x86) Console Application")
+!MESSAGE "IceStorm.counter.server.exe - Win32 Release" (based on "Win32 (x86) Console Application")
+!MESSAGE "IceStorm.counter.server.exe - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
# Begin Project
@@ -28,7 +28,7 @@ CFG=IceStorm.counter.server - Win32 Debug
CPP=cl.exe
RSC=rc.exe
-!IF "$(CFG)" == "IceStorm.counter.server - Win32 Release"
+!IF "$(CFG)" == "IceStorm.counter.server.exe - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
@@ -51,10 +51,10 @@ BSC32=bscmake.exe
# 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 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 IceStorm.lib Ice.lib IceUtil.lib setargv.obj /nologo /subsystem:console /pdb:none /machine:I386 /out:"server.exe" /libpath:"../../../lib" /FIXED:no
+# ADD LINK32 IceStorm.lib Ice.lib IceUtil.lib setargv.obj /nologo /subsystem:console /pdb:none /machine:I386 /out:"server.exe" /libpath:"../../../lib" /FIXED:no /IGNORE:4089
# SUBTRACT LINK32 /debug
-!ELSEIF "$(CFG)" == "IceStorm.counter.server - Win32 Debug"
+!ELSEIF "$(CFG)" == "IceStorm.counter.server.exe - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
@@ -84,8 +84,8 @@ LINK32=link.exe
# Begin Target
-# Name "IceStorm.counter.server - Win32 Release"
-# Name "IceStorm.counter.server - Win32 Debug"
+# Name "IceStorm.counter.server.exe - Win32 Release"
+# Name "IceStorm.counter.server.exe - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
@@ -121,7 +121,7 @@ SOURCE=.\CounterI.h
SOURCE=.\Counter.ice
-!IF "$(CFG)" == "IceStorm.counter.server - Win32 Release"
+!IF "$(CFG)" == "IceStorm.counter.server.exe - Win32 Release"
# Begin Custom Build
InputPath=.\Counter.ice
@@ -136,7 +136,7 @@ BuildCmds= \
$(BuildCmds)
# End Custom Build
-!ELSEIF "$(CFG)" == "IceStorm.counter.server - Win32 Debug"
+!ELSEIF "$(CFG)" == "IceStorm.counter.server.exe - Win32 Debug"
# Begin Custom Build
InputPath=.\Counter.ice
diff --git a/cpp/demo/IceStorm/counter/Server.cpp b/cpp/demo/IceStorm/counter/Server.cpp
index 66309878007..a2f46c263ed 100644
--- a/cpp/demo/IceStorm/counter/Server.cpp
+++ b/cpp/demo/IceStorm/counter/Server.cpp
@@ -53,6 +53,9 @@ Server::run(int argc, char* argv[])
IceStorm::TopicPrx topic;
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
topic = manager->retrieve("counter");
}
catch(const IceStorm::NoSuchTopic&)