[ 
https://issues.apache.org/activemq/browse/AMQCPP-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39183
 ] 

Albert Strasheim commented on AMQCPP-118:
-----------------------------------------

Timothy or Nathan, if you could get the code in place, I'll make an attempt to 
test it. I think that linking the AMQCPP example program against the AMQCPP DLL 
and against some other runtime like multi-threaded static (i.e. /MT[d] instead 
of /MD[d]) should cause a crash without these changes.

> 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.

Reply via email to