[Mono-dev] Mono is VS II
Jonathan S. Chambers
Jonathan.Chambers at ansys.com
Fri Jun 9 14:12:10 EDT 2006
Here's a better patch, thanks to robertj. It opens the registry subkey
in one call instead of 5 for machine level environment variables.
> -----Original Message-----
> From: mono-devel-list-bounces at lists.ximian.com
> bounces at lists.ximian.com] On Behalf Of Jonathan S. Chambers
> Sent: Friday, June 09, 2006 1:54 PM
> To: mono-devel-list at lists.ximian.com
> Subject: [Mono-dev] Mono is VS II
> Here's another patch for building mono in VS. g_unsetenv and g_setenv
> are not defined in the VS build. Let me know if the #ifdef's could be
> made better/clearer. I think there was also a minor leak in the icall
> method; if the user was unsetting an environment variable the method
> returned without freeing the utf8_name variable.
> Note the whitespace change at the bottom of Environment.cs is removing
> spaces from the end of the lines.
> I also implemented the User and Machine level options for
> Set/GetEnvironmentVariable using the registry on Windows.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8148 bytes
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060609/460436b6/attachment.obj
More information about the Mono-devel-list