Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RegLoadKey
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00147215
Message ID:
00147267
Views:
36
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')
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform