[Mono-dev] Embedded Mono - Structures and internal C methods

Paolo Molaro lupus at ximian.com
Wed Oct 5 06:24:03 EDT 2005


On 10/05/05 Tony McGrath wrote:
> I found out what the problem was. I had a fixed char buffer in the 
> structure.
> This was not being marshalled correctly, which was causing the copy to
> fail. Once this was fixed the rest started to work correctly.

Internal calls don't do any marshaling, from the internal calls
document:
	Unlike the Platform Invocation
	services which provide marshalling and unmarshalling of data
	from managed to unmanaged and viceversa the Internal
	icalls do not perform any kind of marshalling.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list