Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RegLoadKey
Message
From
15/10/1998 20:40:01
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00147215
Message ID:
00147324
Views:
41
Why never use it?

Vlad

>Pete,
>
>Never used that API. If NT do you have the correct privledges? Was the c:\pk.reg file created from RegSaveKey?
>
>>Has anyone used the API call RegLoadKey in VFP, I tried it as set out below and got a 1010 error returned, any ideas??
>>Regards
>>Pete Kane
>>
>>#DEFINE hkey_local_machine 2147483650 && (HKEY) 0x80000002
>>
>>declare LONG ;
>>RegLoadKey in advapi32 ;
>>integer,string,string
>>
>>?RegLoadKey(hkey_local_machine,'Software','c:\pk.reg')
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform