Problem when compiling vs2005-activemq project with unsafe method call ----------------------------------------------------------------------
Key: AMQ-1101 URL: https://issues.apache.org/activemq/browse/AMQ-1101 Project: ActiveMQ Issue Type: Bug Components: NMS (C# client) Affects Versions: 4.0 Environment: Windows XP, SP2 Reporter: Pascal ST-LAURENT In vs2005-activemq project, src/main/csharp/ActiveMQ/Commands/ActiveMQTextMessage.cs file, Text property. Must use Marchal.SizeOf() method instead of sizeof(). In this case, we don't need to specified to build the project with unsafe directive and uses only managed code. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira