[Mono-list] Can I call CoTaskMemAlloc on Linux?

Miguel de Icaza miguel at novell.com
Thu Mar 15 13:08:29 EDT 2007


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  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list