RE: SetEnvironmentVariable in Debug and Release cofiguratin
- From: "billr" <billr@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 16 Aug 2005 05:50:02 -0700
How are you declaring your access to GetEnvironmentVariableW?
Maybe like this?
[DllImport("KERNEL32.DLL", EntryPoint="GetEnvironmentVariableW",
SetLastError=true, CharSet=CharSet.Unicode, ExactSpelling=true,
CallingConvention=CallingConvention.Winapi)]
public static extern uint GetEnvironmentVariable(String name, ref string
value, uint length);
--
--
Of all words of tongue and pen, the saddest are: "It might have been"
"DenG" wrote:
> Thanks for the response ;)
> I do the checks via GetEnviromnentVariable and also via Process
> Explorer, which is a very nice freeware utility.
>
>
> --
> Sent via .NET Newsgroups
> http://www.dotnetnewsgroups.com
>
.
- Follow-Ups:
- References:
- SetEnvironmentVariable in Debug and Release cofiguratin
- From: denis . greatest
- RE: SetEnvironmentVariable in Debug and Release cofiguratin
- From: billr
- RE: SetEnvironmentVariable in Debug and Release cofiguratin
- From: DenG
- SetEnvironmentVariable in Debug and Release cofiguratin
- Prev by Date: Re: How to pass pointer as an function argument in C#?
- Next by Date: ListView
- Previous by thread: RE: SetEnvironmentVariable in Debug and Release cofiguratin
- Next by thread: RE: SetEnvironmentVariable in Debug and Release cofiguratin
- Index(es):
Relevant Pages
|