Hello All, The following patch was created from the 2.0 branch. I would like to commit it to the branch as well as the trunk.
Basically on Windows we need to allocate the memory using GlobalAlloc for these calls. I have plans to revisit ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalAnsi to avoid allocating memory twice. Similar to what was attempted in mono_string_new in object.c. To do this we need to implement some more e-glib methods so we have to live with the double alloc for 2.0. -bill
hglobal_08_09_02.diff
Description: Binary data
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list