Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RegEnumValue from WinApi32 function call
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00562037
Message ID:
00562131
Vues:
19
>>>>>>
>>>>>>It's hard to make other suggestions without seeing what the actual parameters are. Could you post them?
>>>>>
>>>>> hKey = 0
>>>>> retval = RegOpenKey(HKEY_CLASSES_ROOT, "Minitab.mpj\shell\open\command", @hKey)
>>>>> valuename = Space(255)
>>>>> valuelen = 255
>>>>> STORE 0 TO lpdwReserved,dataType, xindex
>>>>> Store Space(255) to indata
>>>>> datalen = Len(indata)
>>>>
>>>>Is the value returned by RegOpenKey equal to zero (ERROR_SUCCESS)? If not, the key may not exist.
>>>
>>>Sorry hit reply before i oculd finish my changes but
>>>
>>>Value returned is 0 and hkey changes to different numbers per run. It does find the key
>>>
>>>HKEY_CLASSES_ROOT = -2147483648
>>
>>OH yeah, AND this program DOES work in win 95,98!!!!!!!
>
>Sounds like a problem with registry access caused by WinNT/2K security settings. I generally use the registry class in the FFC. I'm about to leave and won't have access to Win2K again until Monday. If no one else checks for you, I will then.

I'm leaving myself so I may see ya then!!!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform