Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RegLoadKey
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
RegLoadKey
Miscellaneous
Thread ID:
00147215
Message ID:
00147215
Views:
62
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')
Regards,
Peter J. Kane



Pete
Next
Reply
Map
View

Click here to load this message in the networking platform