Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling Registry via RegEnumValue function
Message
De
24/07/2000 15:55:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Calling Registry via RegEnumValue function
Divers
Thread ID:
00396291
Message ID:
00396291
Vues:
36
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
Fil
Voir

Click here to load this message in the networking platform