Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 71639 invoked from network); 22 Oct 2009 16:11:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Oct 2009 16:11:44 -0000 Received: (qmail 50621 invoked by uid 500); 22 Oct 2009 16:11:43 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 50594 invoked by uid 500); 22 Oct 2009 16:11:43 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 50508 invoked by uid 99); 22 Oct 2009 16:11:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 16:11:43 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 16:11:41 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1N10G0-0008Sq-QI for users@activemq.apache.org; Thu, 22 Oct 2009 09:11:20 -0700 Message-ID: <26012810.post@talk.nabble.com> Date: Thu, 22 Oct 2009 09:11:20 -0700 (PDT) From: andrewdc To: users@activemq.apache.org Subject: Help: Error Creating CMS Connection in VC++ 2005 Release Build Only MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: achen@capitalstarsystems.com I am newbie on acticemq CMS API. I have compiled ActiveMQ CMS v3.0.1 source in Visual C++ 2005 Express. I am following the CMS examples developing queue producers and consumers. Everything was working fine in VC++ debug build however it stopped working in the release build. When I debug into the release build, debugger was pointing at Ln 64 of activemqconnectionfactory.cpp with code: this->username = username; where username was shown to have a "Bad Ptr". In my code, I am creating a ConnectionFactory using: auto_ptr connectionFactory( ConnectionFactory::createCMSConnectionFactory( brokerURI ) ); I am also using the thread library in decaf. Does anyone know what might be wrong and what I can do to fix the issues? Any suggestions are appreciated. -- View this message in context: http://www.nabble.com/Help%3A-Error-Creating-CMS-Connection-in-VC%2B%2B-2005-Release-Build-Only-tp26012810p26012810.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.