Information générale
Catégorie:
Fonctions Windows API
>>>
>>>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
Précédent
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