summaryrefslogtreecommitdiff
path: root/cpp/demo/IceStorm
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2009-03-24 11:45:18 +0100
committerBenoit Foucher <benoit@zeroc.com>2009-03-24 11:45:18 +0100
commit06a08ecf28e205277336a97a6173db7ccbed1adc (patch)
treea369a5044a63f8cdba9e7c0a461e24ae344486b4 /cpp/demo/IceStorm
parentMerge branch 'R3_3_branch' (diff)
parentBug 3924: slice2py missing from VC60 installer (diff)
downloadice-06a08ecf28e205277336a97a6173db7ccbed1adc.tar.bz2
ice-06a08ecf28e205277336a97a6173db7ccbed1adc.tar.xz
ice-06a08ecf28e205277336a97a6173db7ccbed1adc.zip
Merge commit 'origin/R3_3_branch'
Conflicts: CHANGES cpp/demo/Freeze/backup/.depend cpp/demo/Freeze/bench/.depend cpp/demo/Freeze/casino/.depend cpp/demo/Freeze/customEvictor/.depend cpp/demo/Freeze/library/.depend cpp/demo/Freeze/phonebook/.depend cpp/demo/Freeze/transform/.depend cpp/demo/Glacier2/callback/.depend cpp/demo/Glacier2/chat/.depend cpp/demo/Ice/async/.depend cpp/demo/Ice/bidir/.depend cpp/demo/Ice/callback/.depend cpp/demo/Ice/converter/.depend cpp/demo/Ice/hello/.depend cpp/demo/Ice/invoke/.depend cpp/demo/Ice/latency/.depend cpp/demo/Ice/minimal/.depend cpp/demo/Ice/multicast/.depend cpp/demo/Ice/nested/.depend cpp/demo/Ice/nrvo/.depend cpp/demo/Ice/session/.depend cpp/demo/Ice/throughput/.depend cpp/demo/Ice/value/.depend cpp/demo/IceBox/hello/.depend cpp/demo/IceGrid/allocate/.depend cpp/demo/IceGrid/icebox/.depend cpp/demo/IceGrid/replication/.depend cpp/demo/IceGrid/sessionActivation/.depend cpp/demo/IceGrid/simple/.depend cpp/demo/IceStorm/clock/.depend cpp/demo/IceStorm/counter/.depend cpp/demo/IceStorm/replicated/.depend cpp/demo/IceStorm/replicated2/.depend cpp/demo/book/freeze_filesystem/.depend cpp/demo/book/lifecycle/.depend cpp/demo/book/printer/.depend cpp/demo/book/simple_filesystem/.depend cpp/src/Freeze/.depend cpp/src/FreezeScript/.depend cpp/src/Ice/.depend cpp/src/Ice/UdpTransceiver.cpp cpp/src/Ice/UdpTransceiver.h cpp/src/IceBox/.depend cpp/src/IceGrid/.depend cpp/src/IceGridLib/.depend cpp/src/IcePatch2/.depend cpp/src/IceStorm/.depend cpp/src/slice2freeze/.depend cpp/test/Freeze/complex/.depend cpp/test/Freeze/dbmap/.depend cpp/test/Freeze/evictor/.depend cpp/test/Freeze/oldevictor/.depend cpp/test/FreezeScript/dbmap/.depend cpp/test/FreezeScript/evictor/.depend cpp/test/Glacier2/attack/.depend cpp/test/Glacier2/dynamicFiltering/.depend cpp/test/Glacier2/router/.depend cpp/test/Glacier2/sessionControl/.depend cpp/test/Glacier2/ssl/.depend cpp/test/Glacier2/staticFiltering/.depend cpp/test/Ice/adapterDeactivation/.depend cpp/test/Ice/background/.depend cpp/test/Ice/binding/.depend cpp/test/Ice/checksum/.depend cpp/test/Ice/checksum/server/.depend cpp/test/Ice/custom/.depend cpp/test/Ice/exceptions/.depend cpp/test/Ice/facets/.depend cpp/test/Ice/faultTolerance/.depend cpp/test/Ice/gc/.depend cpp/test/Ice/hold/.depend cpp/test/Ice/inheritance/.depend cpp/test/Ice/interceptor/.depend cpp/test/Ice/location/.depend cpp/test/Ice/objects/.depend cpp/test/Ice/operations/.depend cpp/test/Ice/proxy/.depend cpp/test/Ice/retry/.depend cpp/test/Ice/servantLocator/.depend cpp/test/Ice/slicing/exceptions/.depend cpp/test/Ice/slicing/objects/.depend cpp/test/Ice/stream/.depend cpp/test/Ice/stringConverter/.depend cpp/test/Ice/timeout/.depend cpp/test/Ice/udp/.depend cpp/test/IceBox/configuration/.depend cpp/test/IceGrid/activation/.depend cpp/test/IceGrid/allocation/.depend cpp/test/IceGrid/deployer/.depend cpp/test/IceGrid/distribution/.depend cpp/test/IceGrid/replicaGroup/.depend cpp/test/IceGrid/replication/.depend cpp/test/IceGrid/session/.depend cpp/test/IceGrid/simple/.depend cpp/test/IceGrid/update/.depend cpp/test/IceSSL/configuration/.depend cpp/test/IceStorm/federation/.depend cpp/test/IceStorm/federation2/.depend cpp/test/IceStorm/rep1/.depend cpp/test/IceStorm/repgrid/.depend cpp/test/IceStorm/repstress/.depend cpp/test/IceStorm/single/.depend cpp/test/IceStorm/stress/.depend cpp/test/Slice/keyword/.depend cs/src/Ice/Instance.cs cs/src/IceSSL/ConnectorI.cs java/demo/book/simple_filesystem/Filesystem/DirectoryI.java java/demo/book/simple_filesystem/Filesystem/FileI.java java/src/IceInternal/TcpConnector.java java/src/IceSSL/ConnectorI.java py/modules/IcePy/.depend rb/src/IceRuby/.depend
Diffstat (limited to 'cpp/demo/IceStorm')
-rw-r--r--cpp/demo/IceStorm/clock/IceStorm.clock.publisher.dsp24
-rw-r--r--cpp/demo/IceStorm/clock/IceStorm.clock.subscriber.dsp24
-rw-r--r--cpp/demo/IceStorm/clock/Publisher.cpp6
-rw-r--r--cpp/demo/IceStorm/clock/Subscriber.cpp8
-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
-rw-r--r--cpp/demo/IceStorm/replicated/IceStorm.replicated.publisher.dsp24
-rw-r--r--cpp/demo/IceStorm/replicated/IceStorm.replicated.subscriber.dsp24
-rw-r--r--cpp/demo/IceStorm/replicated/Publisher.cpp6
-rw-r--r--cpp/demo/IceStorm/replicated/Subscriber.cpp6
-rw-r--r--cpp/demo/IceStorm/replicated2/IceStorm.replicated2.publisher.dsp24
-rw-r--r--cpp/demo/IceStorm/replicated2/IceStorm.replicated2.subscriber.dsp24
-rw-r--r--cpp/demo/IceStorm/replicated2/Subscriber.cpp3
14 files changed, 127 insertions, 97 deletions
diff --git a/cpp/demo/IceStorm/clock/IceStorm.clock.publisher.dsp b/cpp/demo/IceStorm/clock/IceStorm.clock.publisher.dsp
index 662284fef41..6c8c6fff560 100644
--- a/cpp/demo/IceStorm/clock/IceStorm.clock.publisher.dsp
+++ b/cpp/demo/IceStorm/clock/IceStorm.clock.publisher.dsp
@@ -1,10 +1,10 @@
-# Microsoft Developer Studio Project File - Name="IceStorm.clock.publisher" - Package Owner=<4>
+# Microsoft Developer Studio Project File - Name="IceStorm.clock.publisher.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.clock.publisher - Win32 Debug
+CFG=IceStorm.clock.publisher.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.clock.publisher - 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.clock.publisher.mak" CFG="IceStorm.clock.publisher - Win32 Debug"
+!MESSAGE NMAKE /f "IceStorm.clock.publisher.mak" CFG="IceStorm.clock.publisher.exe - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
-!MESSAGE "IceStorm.clock.publisher - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "IceStorm.clock.publisher - Win32 Debug" (based on "Win32 (x86) Console Application")
+!MESSAGE "IceStorm.clock.publisher.exe - Win32 Release" (based on "Win32 (x86) Console Application")
+!MESSAGE "IceStorm.clock.publisher.exe - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
# Begin Project
@@ -28,7 +28,7 @@ CFG=IceStorm.clock.publisher - Win32 Debug
CPP=cl.exe
RSC=rc.exe
-!IF "$(CFG)" == "IceStorm.clock.publisher - Win32 Release"
+!IF "$(CFG)" == "IceStorm.clock.publisher.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:"publisher.exe" /libpath:"../../../lib" /FIXED:no
+# ADD LINK32 IceStorm.lib Ice.lib IceUtil.lib setargv.obj /nologo /subsystem:console /pdb:none /machine:I386 /out:"publisher.exe" /libpath:"../../../lib" /FIXED:no /IGNORE:4089
# SUBTRACT LINK32 /debug
-!ELSEIF "$(CFG)" == "IceStorm.clock.publisher - Win32 Debug"
+!ELSEIF "$(CFG)" == "IceStorm.clock.publisher.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.clock.publisher - Win32 Release"
-# Name "IceStorm.clock.publisher - Win32 Debug"
+# Name "IceStorm.clock.publisher.exe - Win32 Release"
+# Name "IceStorm.clock.publisher.exe - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
@@ -113,7 +113,7 @@ SOURCE=.\Clock.h
SOURCE=.\Clock.ice
-!IF "$(CFG)" == "IceStorm.clock.publisher - Win32 Release"
+!IF "$(CFG)" == "IceStorm.clock.publisher.exe - Win32 Release"
USERDEP__CLOCK="..\..\..\bin\slice2cpp.exe" "..\..\..\lib\slice.lib"
# Begin Custom Build
@@ -129,7 +129,7 @@ BuildCmds= \
$(BuildCmds)
# End Custom Build
-!ELSEIF "$(CFG)" == "IceStorm.clock.publisher - Win32 Debug"
+!ELSEIF "$(CFG)" == "IceStorm.clock.publisher.exe - Win32 Debug"
USERDEP__CLOCK="..\..\..\bin\slice2cpp.exe" "..\..\..\lib\sliced.lib"
# Begin Custom Build
diff --git a/cpp/demo/IceStorm/clock/IceStorm.clock.subscriber.dsp b/cpp/demo/IceStorm/clock/IceStorm.clock.subscriber.dsp
index 5a923c3b5c0..45c60ac4baf 100644
--- a/cpp/demo/IceStorm/clock/IceStorm.clock.subscriber.dsp
+++ b/cpp/demo/IceStorm/clock/IceStorm.clock.subscriber.dsp
@@ -1,10 +1,10 @@
-# Microsoft Developer Studio Project File - Name="IceStorm.clock.subscriber" - Package Owner=<4>
+# Microsoft Developer Studio Project File - Name="IceStorm.clock.subscriber.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.clock.subscriber - Win32 Debug
+CFG=IceStorm.clock.subscriber.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.clock.subscriber - 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.clock.subscriber.mak" CFG="IceStorm.clock.subscriber - Win32 Debug"
+!MESSAGE NMAKE /f "IceStorm.clock.subscriber.mak" CFG="IceStorm.clock.subscriber.exe - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
-!MESSAGE "IceStorm.clock.subscriber - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "IceStorm.clock.subscriber - Win32 Debug" (based on "Win32 (x86) Console Application")
+!MESSAGE "IceStorm.clock.subscriber.exe - Win32 Release" (based on "Win32 (x86) Console Application")
+!MESSAGE "IceStorm.clock.subscriber.exe - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
# Begin Project
@@ -28,7 +28,7 @@ CFG=IceStorm.clock.subscriber - Win32 Debug
CPP=cl.exe
RSC=rc.exe
-!IF "$(CFG)" == "IceStorm.clock.subscriber - Win32 Release"
+!IF "$(CFG)" == "IceStorm.clock.subscriber.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:"subscriber.exe" /libpath:"../../../lib" /FIXED:no
+# ADD LINK32 IceStorm.lib Ice.lib IceUtil.lib setargv.obj /nologo /subsystem:console /pdb:none /machine:I386 /out:"subscriber.exe" /libpath:"../../../lib" /FIXED:no /IGNORE:4089
# SUBTRACT LINK32 /debug
-!ELSEIF "$(CFG)" == "IceStorm.clock.subscriber - Win32 Debug"
+!ELSEIF "$(CFG)" == "IceStorm.clock.subscriber.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.clock.subscriber - Win32 Release"
-# Name "IceStorm.clock.subscriber - Win32 Debug"
+# Name "IceStorm.clock.subscriber.exe - Win32 Release"
+# Name "IceStorm.clock.subscriber.exe - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
@@ -113,7 +113,7 @@ SOURCE=.\Clock.h
SOURCE=.\Clock.ice
-!IF "$(CFG)" == "IceStorm.clock.subscriber - Win32 Release"
+!IF "$(CFG)" == "IceStorm.clock.subscriber.exe - Win32 Release"
USERDEP__CLOCK="..\..\..\bin\slice2cpp.exe" "..\..\..\lib\slice.lib"
# Begin Custom Build
@@ -129,7 +129,7 @@ BuildCmds= \
$(BuildCmds)
# End Custom Build
-!ELSEIF "$(CFG)" == "IceStorm.clock.subscriber - Win32 Debug"
+!ELSEIF "$(CFG)" == "IceStorm.clock.subscriber.exe - Win32 Debug"
USERDEP__CLOCK="..\..\..\bin\slice2cpp.exe" "..\..\..\lib\sliced.lib"
# Begin Custom Build
diff --git a/cpp/demo/IceStorm/clock/Publisher.cpp b/cpp/demo/IceStorm/clock/Publisher.cpp
index c341212c100..74f13ebef61 100644
--- a/cpp/demo/IceStorm/clock/Publisher.cpp
+++ b/cpp/demo/IceStorm/clock/Publisher.cpp
@@ -98,12 +98,18 @@ Publisher::run(int argc, char* argv[])
IceStorm::TopicPrx topic;
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
topic = manager->retrieve(topicName);
}
catch(const IceStorm::NoSuchTopic&)
{
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
topic = manager->create(topicName);
}
catch(const IceStorm::TopicExists&)
diff --git a/cpp/demo/IceStorm/clock/Subscriber.cpp b/cpp/demo/IceStorm/clock/Subscriber.cpp
index 523a1c02440..5a12c8cf23b 100644
--- a/cpp/demo/IceStorm/clock/Subscriber.cpp
+++ b/cpp/demo/IceStorm/clock/Subscriber.cpp
@@ -160,13 +160,19 @@ Subscriber::run(int argc, char* argv[])
IceStorm::TopicPrx topic;
try
- {
+ {
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
topic = manager->retrieve(topicName);
}
catch(const IceStorm::NoSuchTopic&)
{
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
topic = manager->create(topicName);
}
catch(const IceStorm::TopicExists&)
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&)
diff --git a/cpp/demo/IceStorm/replicated/IceStorm.replicated.publisher.dsp b/cpp/demo/IceStorm/replicated/IceStorm.replicated.publisher.dsp
index c7bc6bd36fb..b7d33219434 100644
--- a/cpp/demo/IceStorm/replicated/IceStorm.replicated.publisher.dsp
+++ b/cpp/demo/IceStorm/replicated/IceStorm.replicated.publisher.dsp
@@ -1,10 +1,10 @@
-# Microsoft Developer Studio Project File - Name="IceStorm.replicated.publisher" - Package Owner=<4>
+# Microsoft Developer Studio Project File - Name="IceStorm.replicated.publisher.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.replicated.publisher - Win32 Debug
+CFG=IceStorm.replicated.publisher.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.replicated.publisher - 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.replicated.publisher.mak" CFG="IceStorm.replicated.publisher - Win32 Debug"
+!MESSAGE NMAKE /f "IceStorm.replicated.publisher.mak" CFG="IceStorm.replicated.publisher.exe - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
-!MESSAGE "IceStorm.replicated.publisher - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "IceStorm.replicated.publisher - Win32 Debug" (based on "Win32 (x86) Console Application")
+!MESSAGE "IceStorm.replicated.publisher.exe - Win32 Release" (based on "Win32 (x86) Console Application")
+!MESSAGE "IceStorm.replicated.publisher.exe - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
# Begin Project
@@ -28,7 +28,7 @@ CFG=IceStorm.replicated.publisher - Win32 Debug
CPP=cl.exe
RSC=rc.exe
-!IF "$(CFG)" == "IceStorm.replicated.publisher - Win32 Release"
+!IF "$(CFG)" == "IceStorm.replicated.publisher.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 IceGrid.lib Ice.lib IceUtil.lib setargv.obj /nologo /subsystem:console /pdb:none /machine:I386 /out:"publisher.exe" /libpath:"../../../lib" /FIXED:no
+# ADD LINK32 IceStorm.lib IceGrid.lib Ice.lib IceUtil.lib setargv.obj /nologo /subsystem:console /pdb:none /machine:I386 /out:"publisher.exe" /libpath:"../../../lib" /FIXED:no /IGNORE:4089
# SUBTRACT LINK32 /debug
-!ELSEIF "$(CFG)" == "IceStorm.replicated.publisher - Win32 Debug"
+!ELSEIF "$(CFG)" == "IceStorm.replicated.publisher.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.replicated.publisher - Win32 Release"
-# Name "IceStorm.replicated.publisher - Win32 Debug"
+# Name "IceStorm.replicated.publisher.exe - Win32 Release"
+# Name "IceStorm.replicated.publisher.exe - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
@@ -113,7 +113,7 @@ SOURCE=.\Clock.h
SOURCE=.\Clock.ice
-!IF "$(CFG)" == "IceStorm.replicated.publisher - Win32 Release"
+!IF "$(CFG)" == "IceStorm.replicated.publisher.exe - Win32 Release"
USERDEP__CLOCK="..\..\..\bin\slice2cpp.exe" "..\..\..\lib\slice.lib"
# Begin Custom Build
@@ -129,7 +129,7 @@ BuildCmds= \
$(BuildCmds)
# End Custom Build
-!ELSEIF "$(CFG)" == "IceStorm.replicated.publisher - Win32 Debug"
+!ELSEIF "$(CFG)" == "IceStorm.replicated.publisher.exe - Win32 Debug"
USERDEP__CLOCK="..\..\..\bin\slice2cpp.exe" "..\..\..\lib\sliced.lib"
# Begin Custom Build
diff --git a/cpp/demo/IceStorm/replicated/IceStorm.replicated.subscriber.dsp b/cpp/demo/IceStorm/replicated/IceStorm.replicated.subscriber.dsp
index c89f8ae32ca..fbaf96dcd74 100644
--- a/cpp/demo/IceStorm/replicated/IceStorm.replicated.subscriber.dsp
+++ b/cpp/demo/IceStorm/replicated/IceStorm.replicated.subscriber.dsp
@@ -1,10 +1,10 @@
-# Microsoft Developer Studio Project File - Name="IceStorm.replicated.subscriber" - Package Owner=<4>
+# Microsoft Developer Studio Project File - Name="IceStorm.replicated.subscriber.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.replicated.subscriber - Win32 Debug
+CFG=IceStorm.replicated.subscriber.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.replicated.subscriber - 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.replicated.subscriber.mak" CFG="IceStorm.replicated.subscriber - Win32 Debug"
+!MESSAGE NMAKE /f "IceStorm.replicated.subscriber.mak" CFG="IceStorm.replicated.subscriber.exe - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
-!MESSAGE "IceStorm.replicated.subscriber - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "IceStorm.replicated.subscriber - Win32 Debug" (based on "Win32 (x86) Console Application")
+!MESSAGE "IceStorm.replicated.subscriber.exe - Win32 Release" (based on "Win32 (x86) Console Application")
+!MESSAGE "IceStorm.replicated.subscriber.exe - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
# Begin Project
@@ -28,7 +28,7 @@ CFG=IceStorm.replicated.subscriber - Win32 Debug
CPP=cl.exe
RSC=rc.exe
-!IF "$(CFG)" == "IceStorm.replicated.subscriber - Win32 Release"
+!IF "$(CFG)" == "IceStorm.replicated.subscriber.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 IceGrid.lib Ice.lib IceUtil.lib setargv.obj /nologo /subsystem:console /pdb:none /machine:I386 /out:"subscriber.exe" /libpath:"../../../lib" /FIXED:no
+# ADD LINK32 IceStorm.lib IceGrid.lib Ice.lib IceUtil.lib setargv.obj /nologo /subsystem:console /pdb:none /machine:I386 /out:"subscriber.exe" /libpath:"../../../lib" /FIXED:no /IGNORE:4089
# SUBTRACT LINK32 /debug
-!ELSEIF "$(CFG)" == "IceStorm.replicated.subscriber - Win32 Debug"
+!ELSEIF "$(CFG)" == "IceStorm.replicated.subscriber.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.replicated.subscriber - Win32 Release"
-# Name "IceStorm.replicated.subscriber - Win32 Debug"
+# Name "IceStorm.replicated.subscriber.exe - Win32 Release"
+# Name "IceStorm.replicated.subscriber.exe - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
@@ -113,7 +113,7 @@ SOURCE=.\Clock.h
SOURCE=.\Clock.ice
-!IF "$(CFG)" == "IceStorm.replicated.subscriber - Win32 Release"
+!IF "$(CFG)" == "IceStorm.replicated.subscriber.exe - Win32 Release"
USERDEP__CLOCK="..\..\..\bin\slice2cpp.exe" "..\..\..\lib\slice.lib"
# Begin Custom Build
@@ -129,7 +129,7 @@ BuildCmds= \
$(BuildCmds)
# End Custom Build
-!ELSEIF "$(CFG)" == "IceStorm.replicated.subscriber - Win32 Debug"
+!ELSEIF "$(CFG)" == "IceStorm.replicated.subscriber.exe - Win32 Debug"
USERDEP__CLOCK="..\..\..\bin\slice2cpp.exe" "..\..\..\lib\sliced.lib"
# Begin Custom Build
diff --git a/cpp/demo/IceStorm/replicated/Publisher.cpp b/cpp/demo/IceStorm/replicated/Publisher.cpp
index c341212c100..74f13ebef61 100644
--- a/cpp/demo/IceStorm/replicated/Publisher.cpp
+++ b/cpp/demo/IceStorm/replicated/Publisher.cpp
@@ -98,12 +98,18 @@ Publisher::run(int argc, char* argv[])
IceStorm::TopicPrx topic;
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
topic = manager->retrieve(topicName);
}
catch(const IceStorm::NoSuchTopic&)
{
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
topic = manager->create(topicName);
}
catch(const IceStorm::TopicExists&)
diff --git a/cpp/demo/IceStorm/replicated/Subscriber.cpp b/cpp/demo/IceStorm/replicated/Subscriber.cpp
index 523a1c02440..d4b6cfdf1a5 100644
--- a/cpp/demo/IceStorm/replicated/Subscriber.cpp
+++ b/cpp/demo/IceStorm/replicated/Subscriber.cpp
@@ -161,12 +161,18 @@ Subscriber::run(int argc, char* argv[])
IceStorm::TopicPrx topic;
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
topic = manager->retrieve(topicName);
}
catch(const IceStorm::NoSuchTopic&)
{
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
topic = manager->create(topicName);
}
catch(const IceStorm::TopicExists&)
diff --git a/cpp/demo/IceStorm/replicated2/IceStorm.replicated2.publisher.dsp b/cpp/demo/IceStorm/replicated2/IceStorm.replicated2.publisher.dsp
index 8957ba821e6..27243b09b29 100644
--- a/cpp/demo/IceStorm/replicated2/IceStorm.replicated2.publisher.dsp
+++ b/cpp/demo/IceStorm/replicated2/IceStorm.replicated2.publisher.dsp
@@ -1,10 +1,10 @@
-# Microsoft Developer Studio Project File - Name="IceStorm.replicated2.publisher" - Package Owner=<4>
+# Microsoft Developer Studio Project File - Name="IceStorm.replicated2.publisher.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.replicated2.publisher - Win32 Debug
+CFG=IceStorm.replicated2.publisher.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.replicated2.publisher - 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.replicated2.publisher.mak" CFG="IceStorm.replicated2.publisher - Win32 Debug"
+!MESSAGE NMAKE /f "IceStorm.replicated2.publisher.mak" CFG="IceStorm.replicated2.publisher.exe - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
-!MESSAGE "IceStorm.replicated2.publisher - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "IceStorm.replicated2.publisher - Win32 Debug" (based on "Win32 (x86) Console Application")
+!MESSAGE "IceStorm.replicated2.publisher.exe - Win32 Release" (based on "Win32 (x86) Console Application")
+!MESSAGE "IceStorm.replicated2.publisher.exe - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
# Begin Project
@@ -28,7 +28,7 @@ CFG=IceStorm.replicated2.publisher - Win32 Debug
CPP=cl.exe
RSC=rc.exe
-!IF "$(CFG)" == "IceStorm.replicated2.publisher - Win32 Release"
+!IF "$(CFG)" == "IceStorm.replicated2.publisher.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 IceGrid.lib Ice.lib IceUtil.lib setargv.obj /nologo /subsystem:console /pdb:none /machine:I386 /out:"publisher.exe" /libpath:"../../../lib" /FIXED:no
+# ADD LINK32 IceStorm.lib IceGrid.lib Ice.lib IceUtil.lib setargv.obj /nologo /subsystem:console /pdb:none /machine:I386 /out:"publisher.exe" /libpath:"../../../lib" /FIXED:no /IGNORE:4089
# SUBTRACT LINK32 /debug
-!ELSEIF "$(CFG)" == "IceStorm.replicated2.publisher - Win32 Debug"
+!ELSEIF "$(CFG)" == "IceStorm.replicated2.publisher.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.replicated2.publisher - Win32 Release"
-# Name "IceStorm.replicated2.publisher - Win32 Debug"
+# Name "IceStorm.replicated2.publisher.exe - Win32 Release"
+# Name "IceStorm.replicated2.publisher.exe - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
@@ -113,7 +113,7 @@ SOURCE=.\Clock.h
SOURCE=.\Clock.ice
-!IF "$(CFG)" == "IceStorm.replicated2.publisher - Win32 Release"
+!IF "$(CFG)" == "IceStorm.replicated2.publisher.exe - Win32 Release"
USERDEP__CLOCK="..\..\..\bin\slice2cpp.exe" "..\..\..\lib\slice.lib"
# Begin Custom Build
@@ -129,7 +129,7 @@ BuildCmds= \
$(BuildCmds)
# End Custom Build
-!ELSEIF "$(CFG)" == "IceStorm.replicated2.publisher - Win32 Debug"
+!ELSEIF "$(CFG)" == "IceStorm.replicated2.publisher.exe - Win32 Debug"
USERDEP__CLOCK="..\..\..\bin\slice2cpp.exe" "..\..\..\lib\sliced.lib"
# Begin Custom Build
diff --git a/cpp/demo/IceStorm/replicated2/IceStorm.replicated2.subscriber.dsp b/cpp/demo/IceStorm/replicated2/IceStorm.replicated2.subscriber.dsp
index b8887dcbe9c..c9ab30ed433 100644
--- a/cpp/demo/IceStorm/replicated2/IceStorm.replicated2.subscriber.dsp
+++ b/cpp/demo/IceStorm/replicated2/IceStorm.replicated2.subscriber.dsp
@@ -1,10 +1,10 @@
-# Microsoft Developer Studio Project File - Name="IceStorm.replicated2.subscriber" - Package Owner=<4>
+# Microsoft Developer Studio Project File - Name="IceStorm.replicated2.subscriber.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.replicated2.subscriber - Win32 Debug
+CFG=IceStorm.replicated2.subscriber.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.replicated2.subscriber - 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.replicated2.subscriber.mak" CFG="IceStorm.replicated2.subscriber - Win32 Debug"
+!MESSAGE NMAKE /f "IceStorm.replicated2.subscriber.mak" CFG="IceStorm.replicated2.subscriber.exe - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
-!MESSAGE "IceStorm.replicated2.subscriber - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "IceStorm.replicated2.subscriber - Win32 Debug" (based on "Win32 (x86) Console Application")
+!MESSAGE "IceStorm.replicated2.subscriber.exe - Win32 Release" (based on "Win32 (x86) Console Application")
+!MESSAGE "IceStorm.replicated2.subscriber.exe - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
# Begin Project
@@ -28,7 +28,7 @@ CFG=IceStorm.replicated2.subscriber - Win32 Debug
CPP=cl.exe
RSC=rc.exe
-!IF "$(CFG)" == "IceStorm.replicated2.subscriber - Win32 Release"
+!IF "$(CFG)" == "IceStorm.replicated2.subscriber.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 IceGrid.lib Ice.lib IceUtil.lib setargv.obj /nologo /subsystem:console /pdb:none /machine:I386 /out:"subscriber.exe" /libpath:"../../../lib" /FIXED:no
+# ADD LINK32 IceStorm.lib IceGrid.lib Ice.lib IceUtil.lib setargv.obj /nologo /subsystem:console /pdb:none /machine:I386 /out:"subscriber.exe" /libpath:"../../../lib" /FIXED:no /IGNORE:4089
# SUBTRACT LINK32 /debug
-!ELSEIF "$(CFG)" == "IceStorm.replicated2.subscriber - Win32 Debug"
+!ELSEIF "$(CFG)" == "IceStorm.replicated2.subscriber.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.replicated2.subscriber - Win32 Release"
-# Name "IceStorm.replicated2.subscriber - Win32 Debug"
+# Name "IceStorm.replicated2.subscriber.exe - Win32 Release"
+# Name "IceStorm.replicated2.subscriber.exe - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
@@ -113,7 +113,7 @@ SOURCE=.\Clock.h
SOURCE=.\Clock.ice
-!IF "$(CFG)" == "IceStorm.replicated2.subscriber - Win32 Release"
+!IF "$(CFG)" == "IceStorm.replicated2.subscriber.exe - Win32 Release"
USERDEP__CLOCK="..\..\..\bin\slice2cpp.exe" "..\..\..\lib\slice.lib"
# Begin Custom Build
@@ -129,7 +129,7 @@ BuildCmds= \
$(BuildCmds)
# End Custom Build
-!ELSEIF "$(CFG)" == "IceStorm.replicated2.subscriber - Win32 Debug"
+!ELSEIF "$(CFG)" == "IceStorm.replicated2.subscriber.exe - Win32 Debug"
USERDEP__CLOCK="..\..\..\bin\slice2cpp.exe" "..\..\..\lib\sliced.lib"
# Begin Custom Build
diff --git a/cpp/demo/IceStorm/replicated2/Subscriber.cpp b/cpp/demo/IceStorm/replicated2/Subscriber.cpp
index bf235ab47c3..ae8f0a8cdf2 100644
--- a/cpp/demo/IceStorm/replicated2/Subscriber.cpp
+++ b/cpp/demo/IceStorm/replicated2/Subscriber.cpp
@@ -161,6 +161,9 @@ Subscriber::run(int argc, char* argv[])
IceStorm::TopicPrx topic;
try
{
+#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600)
+ IceUtil::DummyBCC dummy;
+#endif
topic = manager->retrieve(topicName);
}
catch(const IceStorm::NoSuchTopic&)