General information
Category:
Windows API functions
Title:
Calling Registry via RegEnumValue function
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only