Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 35876 invoked from network); 30 May 2007 19:17:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 May 2007 19:17:54 -0000 Received: (qmail 4116 invoked by uid 500); 30 May 2007 19:17:58 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 4087 invoked by uid 500); 30 May 2007 19:17:58 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 4078 invoked by uid 99); 30 May 2007 19:17:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 May 2007 12:17:58 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 May 2007 12:17:53 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F37A67141A7 for ; Wed, 30 May 2007 12:17:32 -0700 (PDT) Message-ID: <12669763.1180552652994.JavaMail.jira@brutus> Date: Wed, 30 May 2007 12:17:32 -0700 (PDT) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQCPP-118) Provide a way to allocate and free with the same allocator In-Reply-To: <15040554.1180471233772.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQCPP-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39192 ] Timothy Bish commented on AMQCPP-118: ------------------------------------- I was wondering what other issues where going to show up, now we know :) It may be that we have to stipulate that in order to use the DLL you must ensure that you build it linked against the same Run-Time that your application is. Its not an optimal solution but I know at my previous company we did just this for the same reasons. Aren't DLL's fun :) > Provide a way to allocate and free with the same allocator > ---------------------------------------------------------- > > Key: AMQCPP-118 > URL: https://issues.apache.org/activemq/browse/AMQCPP-118 > Project: ActiveMQ C++ Client > Issue Type: Improvement > Reporter: Albert Strasheim > Assignee: Nathan Mittler > Fix For: 2.1 > > > Cross-runtime allocation and deallocation can cause problems on Windows (and maybe other platforms) where you can have code linked against more than one runtime in the same program. There should be a way to be sure that you allocate and deallocate AMQCPP objects using code linked against the same runtime (i.e. allocate and deallocate from the same heap). > More details in this thread: > [http://www.nabble.com/Licensing-and-Porting-Issue-for-the-CMS-(ActiveMQ-CPP)-on-Visual-Studio-6-from-Visual-Studio-8-t3777279s2354.html] > and here: > http://blogs.msdn.com/oldnewthing/archive/2006/09/15/755966.aspx -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.