Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Registry via RegEnumValue function
Message
From
24/07/2000 15:55:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Calling Registry via RegEnumValue function
Miscellaneous
Thread ID:
00396291
Message ID:
00396291
Views:
37
I'm trying to call an outside application (in this case, Minitab) from within FoxPro..I seem to be having a problem with the following RegEnumValue function:

retval = RegEnumValue(hKey, xindex, valuename, valuelen, lpdwReserved, dataType, @indata, @datalen)

With xindex, lpdwReserved and datatype equaling zero, and indata equal to a string of 255 blanks, I continually return a value of "1010" or "87" (retval = 1010 [87]), as opposed to "0" value returned for a sucessful completion. I have tried a number of different things, yet continue to have this problem

Not being overly familiar with Registry calls and API's, any help would be appreciated.

TW
Next
Reply
Map
View

Click here to load this message in the networking platform