Ok,
So not as stupid a question as I thought.
From the MSDN docs, the .Net Marshaller uses CoTaskMemFree() to release
memory, so I assume Mono's Marshaller uses free()?
Vin
Miguel de Icaza wrote:
> Hello,
>
>> "windows.h" won't be on a Linux machine so can someone confirm for me
>> that CoTaskMemAlloc is portable and not MS?
>
> It is not; You need to use malloc on Unix systems.
>
>> If it isn't what is the alternative?
>>
>> Thanks, Vin
>> _______________________________________________
>> Mono-list maillist - [email protected]
>> http://lists.ximian.com/mailman/listinfo/mono-list
>
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list