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