SalGetProfileString: How can I getting value from registry? -
08-30-2004
, 09:05 AM
Hello,
I want to read value from registry (windows registry) with the
function SalGetProfileString() and SalUseRegistry( bUseRegistry,
sCompanyName ).
I'm setting the last parameter from SalGetProfileString() with
"\\\HKEY_CURRENT_USER\\Software\\<companyname>\\<s ection>\\<undersection>\\entry\\"
=>
If SalUseRegistry( TRUE, 'companyname') = TRUE
SalGetProfileString
('','',sDefaultValue,sReturnValue,"\\\HKEY_CURRENT _USER\\Software\\companyname\\section\\undersectio n\\entry\\"
)
The return value is equal sDefaultValue. What make I false? Who can
help me?
Thanks beautifully in advance for your assistance.
Many greetings
Julie |