RE: SetEnvironmentVariable in Debug and Release cofiguratin
- From: DenG <denis.greatest@xxxxxxxxx>
- Date: Tue, 16 Aug 2005 05:59:29 -0700
Actually, it was:
// Import the Kernel32 dll file.
[DllImport("kernel32.dll",CharSet=CharSet.Auto, SetLastError=true)]
[return:MarshalAs(UnmanagedType.Bool)]
// The declaration is similar to the SDK function.
public static extern bool SetEnvironmentVariable(string lpName, string
lpValue);
This is the Set one.
BTW, it is taken from
http://support.microsoft.com/default.aspx?scid=kb;en-us;829145
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
.
- Follow-Ups:
- References:
- Prev by Date: Re: DateTimePicker BackColor
- Next by Date: Re: How to pass pointer as an function argument in C#?
- Previous by thread: RE: SetEnvironmentVariable in Debug and Release cofiguratin
- Next by thread: RE: SetEnvironmentVariable in Debug and Release cofiguratin
- Index(es):
Relevant Pages
|