Re: OSRegSetValueEx versus RegSetValueEx
- From: "Jack" <replyTo@newsgroup>
- Date: Tue, 17 Jan 2006 17:45:03 -0500
Thank you.
What is that 'Alias' anyway?
I went through code and almost each function has some Alias attached to it.
Jack
"Ken Halter" <Ken_Halter@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:u0cywN7GGHA.2444@xxxxxxxxxxxxxxxxxxxxxxx
> "Jack" <replyTo@newsgroup> wrote in message
> news:uBU$AK7GGHA.2064@xxxxxxxxxxxxxxxxxxxxxxx
>> Hello,
>> The code I am checking contains OSRegSetValueEx() function.
>> I cannot find any reference to it on MSDN site, but there is a reference
>> to RegSetValueEx()
>>
>> What is the difference?
>> Should I use all OSReg..... functions (BTW, they work just fine)
>> or should I change them to Reg... functions type?
>
> Those "OS" this or that are nothing more than the original authors coding
> standards. Check the Alias...
>
> > Declare Function OSRegCloseKey Lib "advapi32" Alias "RegCloseKey" (ByVal
>
> That API, no matter what the 'Declare Function xyz" says will use the
> aliased API, which is RegCloseKey.
>
> If you haven't gone too far, you might want to switch to the class below.
> It's an excellent registry class that I use whenever I need registry
> access.
>
> Complete Registry control
> http://www.vbaccelerator.com/home/VB/Code/Libraries/Registry_and_Ini_Files/Complete_Registry_Control/article.asp
>
>
>
>
> --
> Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
> DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
> Freeware 4 color Gradient Frame? http://www.vbsight.com/GradFrameCTL.htm
>
.
- Follow-Ups:
- Re: OSRegSetValueEx versus RegSetValueEx
- From: MikeD
- Re: OSRegSetValueEx versus RegSetValueEx
- References:
- OSRegSetValueEx versus RegSetValueEx
- From: Jack
- Re: OSRegSetValueEx versus RegSetValueEx
- From: Ken Halter
- OSRegSetValueEx versus RegSetValueEx
- Prev by Date: Re: Drop-down FONT list using screen.fonts W/O @FONTS
- Next by Date: Problem Trimming All items in 1d array
- Previous by thread: Re: OSRegSetValueEx versus RegSetValueEx
- Next by thread: Re: OSRegSetValueEx versus RegSetValueEx
- Index(es):
Relevant Pages
|
Loading