Information générale
Catégorie:
Fonctions Windows API
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement