Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-07-01 Thread Sodan
aaa... thanx... now it works... :-) Søren Timothy Bish wrote: > > On Wed, 2010-06-30 at 02:50 -0700, Sodan wrote: >> case PrimitiveValueNode::BYTE_ARRAY_TYPE: >> { >> int size = dataIn.readInt(); >> std::vector data; >> data.resi

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-30 Thread Timothy Bish
On Wed, 2010-06-30 at 02:50 -0700, Sodan wrote: > case PrimitiveValueNode::BYTE_ARRAY_TYPE: > { > int size = dataIn.readInt(); > std::vector data; > data.resize( size ); > dataIn.readFully( &data[0], size ); >

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-30 Thread Sodan
case PrimitiveValueNode::BYTE_ARRAY_TYPE: { int size = dataIn.readInt(); std::vector data; data.resize( size ); dataIn.readFully( &data[0], size ); value.setByteArray( data ); br

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-29 Thread Timothy Bish
On Tue, 2010-06-29 at 06:31 -0700, Sodan wrote: > I have always changed and compiled it as static lib, so no dll. > 3.1.3 works like a charm, 3.2 goes boom. Same setup. > > dang, > Søren A sample app that demonstrates the problem would be helpful. Regards > > > > Timothy Bish wrote: > > >

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-29 Thread Sodan
I have always changed and compiled it as static lib, so no dll. 3.1.3 works like a charm, 3.2 goes boom. Same setup. dang, Søren Timothy Bish wrote: > > On Tue, 2010-06-29 at 06:10 -0700, Sodan wrote: >> btw: we use 5.3.0.4 ActiveMQ. >> Maybe we need the newest version 5.3.2 to be compatible.

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-29 Thread Timothy Bish
On Tue, 2010-06-29 at 06:10 -0700, Sodan wrote: > btw: we use 5.3.0.4 ActiveMQ. > Maybe we need the newest version 5.3.2 to be compatible... ? > > Søren > There shouldn't be any substantive difference between these versions when it comes to sending and receiving MapMessages. Are you ensuring

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-29 Thread Sodan
btw: we use 5.3.0.4 ActiveMQ. Maybe we need the newest version 5.3.2 to be compatible... ? Søren -- View this message in context: http://old.nabble.com/activemq-cpp-3.2.0-vs2005-build-directory-is-missing-tp28946553p29023435.html Sent from the ActiveMQ - User mailing list archive at Nabble.com

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-29 Thread Timothy Bish
On Tue, 2010-06-29 at 05:42 -0700, Sodan wrote: > getMapNames also fails... :-( > Again, all tests that I have pass here, so I really need to see an example that fails in order to diagnose what is causing it to not work for you, there must be something different in you app that we have not tested

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-29 Thread Sodan
app_debug.exe!std::_Debug_message(const wchar_t * message, const wchar_t * file, unsigned int line) Line 15 C++ app_debug.exe!std::vector >::operator[](unsigned int _Pos) Line 932 + 0x14 bytes C++ app_debug.exe!activemq::wireformat::openwire::marshal::PrimitiveTypesMarshaller::unmarshalPri

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-29 Thread Sodan
getMapNames also fails... :-( Søren Timothy Bish wrote: > > On Mon, 2010-06-28 at 02:22 -0700, Sodan wrote: >> is there a way to test if a map is empty ? >> > > You could call getMapNames() and see if the returned vector is empty. > > Regards > > >> Søren >> >> >> >> Timothy Bish wrot

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-28 Thread Timothy Bish
On Mon, 2010-06-28 at 02:22 -0700, Sodan wrote: > is there a way to test if a map is empty ? > You could call getMapNames() and see if the returned vector is empty. Regards > Søren > > > > Timothy Bish wrote: > > > > On Fri, 2010-06-25 at 05:05 -0700, Sodan wrote: > >> Hi again > >> > >>

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-28 Thread Sodan
is there a way to test if a map is empty ? Søren Timothy Bish wrote: > > On Fri, 2010-06-25 at 05:05 -0700, Sodan wrote: >> Hi again >> >> Spent a number of hours trying to figure this out. I get a certain type >> of >> message, call it "PT" and many of these messages are ok, but then >> sud

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-25 Thread Timothy Bish
On Fri, 2010-06-25 at 05:05 -0700, Sodan wrote: > Hi again > > Spent a number of hours trying to figure this out. I get a certain type of > message, call it "PT" and many of these messages are ok, but then suddenly I > get a message of that type, which mas an empty map. As soon as I do any type >

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-25 Thread Sodan
Hi again Spent a number of hours trying to figure this out. I get a certain type of message, call it "PT" and many of these messages are ok, but then suddenly I get a message of that type, which mas an empty map. As soon as I do any type of operation on the message map, it fails... I also get man

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-24 Thread Timothy Bish
On Thu, 2010-06-24 at 04:27 -0700, Sodan wrote: > its weird... > > some of the messages we send and recieve are fine: > const MapMessage *mapMessage = dynamic_cast(message); > some are empty, map seems empty, and therefore the itemExists fails... > > could it have something to do with: AMQCPP-26

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-24 Thread Sodan
its weird... some of the messages we send and recieve are fine: const MapMessage *mapMessage = dynamic_cast(message); some are empty, map seems empty, and therefore the itemExists fails... could it have something to do with: AMQCPP-261 ? Søren Timothy Bish wrote: > > On Thu, 2010-06-24 at

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-24 Thread Timothy Bish
On Thu, 2010-06-24 at 03:40 -0700, Sodan wrote: > thanx. our project actually compiles and runs now, but getting this strange > bug now: > > using: map->itemExists(inName) > > > app_debug.exe!std::_Debug_message(const wchar_t * message, const wchar_t * > file, unsigned int line) Line 15 C++

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-24 Thread Sodan
thanx. our project actually compiles and runs now, but getting this strange bug now: using: map->itemExists(inName) app_debug.exe!std::_Debug_message(const wchar_t * message, const wchar_t * file, unsigned int line) Line 15 C++ app_debug.exe!std::vector >::operator[](unsigned int _Pos)

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-23 Thread Timothy Bish
On Tue, 2010-06-22 at 14:06 -0700, Sodan wrote: > yes, converted to 2010. Compiles with no warnings or anything, but I did > change the V6 part, to be like V5, V4 etc... The 3.1.3 project worked fine. > > But look at the 3.2 2008 project. v2, v3,v4,v5 has special settings for the > ccp files, v6 h

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-23 Thread Sodan
lease respond to > users@activemq.apache.org > > > To > users@activemq.apache.org > cc > > Subject > Re: activemq-cpp 3.2.0 vs2005-build directory is missing > > > > > > > On Tue, 2010-06-22 at 13:47 -0700, Sodan wrote: >> it does compile fine

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-23 Thread andrew . marlow
: activemq-cpp 3.2.0 vs2005-build directory is missing On Tue, 2010-06-22 at 13:47 -0700, Sodan wrote: > it does compile fine now... > > but giving strange errors... in the marshall code... something aint right... > > the project for 2008 is not working... can someone fix i

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Timothy Bish
On Tue, 2010-06-22 at 14:06 -0700, Sodan wrote: > yes, converted to 2010. Compiles with no warnings or anything, but I did > change the V6 part, to be like V5, V4 etc... The 3.1.3 project worked fine. > > But look at the 3.2 2008 project. v2, v3,v4,v5 has special settings for the > ccp files, v6 h

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Sodan
yes, converted to 2010. Compiles with no warnings or anything, but I did change the V6 part, to be like V5, V4 etc... The 3.1.3 project worked fine. But look at the 3.2 2008 project. v2, v3,v4,v5 has special settings for the ccp files, v6 has not ? Søren Timothy Bish wrote: > > On Tue, 2010-

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Timothy Bish
On Tue, 2010-06-22 at 13:47 -0700, Sodan wrote: > it does compile fine now... > > but giving strange errors... in the marshall code... something aint right... > > the project for 2008 is not working... can someone fix it..? > > Søren > Are you compiling in VS2008 or converting the project to V

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Sodan
it does compile fine now... but giving strange errors... in the marshall code... something aint right... the project for 2008 is not working... can someone fix it..? Søren -- View this message in context: http://old.nabble.com/activemq-cpp-3.2.0-vs2005-build-directory-is-missing-tp28946553p2

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Sodan
If I use the project from the repos, I now get: 1>Debug\activemq-cpp\activemq-cpp\ActiveMQBlobMessageMarshaller.obj : warning LNK4042: object specified more than once; extras ignored 1>Debug\activemq-cpp\activemq-cpp\ActiveMQBytesMessageMarshaller.obj : warning LNK4042: object specified more than

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Timothy Bish
On Tue, 2010-06-22 at 04:51 -0700, Sodan wrote: > for now... what is the immediate solution to the problem below ? > (everything else seems to compile and work just fine) > > activemq\ResourceLifecycleManager.obj : warning LNK4042: object specified > more than once > activemq\src\main\activemq\cm

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Sodan
com >> 22/06/2010 11:20 >> Please respond to >> users@activemq.apache.org >> >> >> To >> users@activemq.apache.org >> cc >> >> Subject >> Re: activemq-cpp 3.2.0 vs2005-build directory is missing >> >> >> >>

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Sodan
for now... what is the immediate solution to the problem below ? (everything else seems to compile and work just fine) activemq\ResourceLifecycleManager.obj : warning LNK4042: object specified more than once activemq\src\main\activemq\cmsutil\ResourceLifecycleManager.cpp and activemq\src\main\

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Timothy Bish
arlow > > > > > Internet > tabish...@gmail.com > 22/06/2010 11:20 > Please respond to > users@activemq.apache.org > > > To > users@activemq.apache.org > cc > > Subject > Re: activemq-cpp 3.2.0 vs2005-build directory is missing > > >

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread andrew . marlow
rg cc Subject Re: activemq-cpp 3.2.0 vs2005-build directory is missing On Tue, 2010-06-22 at 02:57 -0700, Sodan wrote: > I also get this: > > activemq\ResourceLifecycleManager.obj : warning LNK4042: object specified > more than once > > it seems the are two files with the

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Timothy Bish
On Tue, 2010-06-22 at 02:57 -0700, Sodan wrote: > I also get this: > > activemq\ResourceLifecycleManager.obj : warning LNK4042: object specified > more than once > > it seems the are two files with the same name... a conflict ? > > activemq\src\main\activemq\cmsutil\ResourceLifecycleManager.cpp

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Sodan
I also get this: activemq\ResourceLifecycleManager.obj : warning LNK4042: object specified more than once it seems the are two files with the same name... a conflict ? activemq\src\main\activemq\cmsutil\ResourceLifecycleManager.cpp and activemq\src\main\decaf\internal\util\ResourceLifecycleMana

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-21 Thread Timothy Bish
On Mon, 2010-06-21 at 10:19 +0100, andrew.mar...@uk.bnpparibas.com wrote: > I have just tried to build activemq-cpp 3.2.0 for Microsoft-Windows (XP > SP3) using Visual Studio 2005 (aka vc8) but it does not build. It looks > like the directory vs2005-build has gone missing. > > Copying the one fr

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-21 Thread andrew . marlow
part of the distribution. Regards, Andrew Marlow Internet so...@sodan.dk 21/06/2010 10:55 Please respond to users@activemq.apache.org To users@activemq.apache.org cc Subject Re: activemq-cpp 3.2.0 vs2005-build directory is missing I just tried to use my VC10 project, but it fails many

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-21 Thread Sodan
I just tried to use my VC10 project, but it fails many places... like: 1> OpenwireStringSupport.cpp 1>..\src\main\activemq\wireformat\openwire\utils\OpenwireStringSupport.cpp(47): error C2661: 'decaf::io::DataInputStream::readFully' : no overloaded function takes 3 arguments 1>..\src\main\active