Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading From An INI File
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00664506
Message ID:
00665036
Vues:
29
Ok George, here's another one I'm stuck on. I'm getting a data
type mismatch:
#INCLUDE ApiRef.h

LOCAL lRetVal, iBaseKey, sSubKey, iReservedm iClass, iOptions
LOCAL iAccess, nAttrib, iHandle, iDisposition

DECLARE INTEGER RegCreateKeyEx IN Win32API; 
  INTEGER @iBaseKey,;
  STRING  @sSubKey,;
  INTEGER @iReserved,;
  STRING  @iClass,;
  INTEGER @iOptions,;
  INTEGER @iAccess,;
  INTEGER @iSecurity,;
  INTEGER @iHandle,;
  INTEGER @iDisposition

iBaseKey     = HKEY_LOCAL_MACHINE
sSubKey	     = REG_TEST_KEY
iReserved    = REG_OPTION_RESERVED
iClass	     = ""
iOptions     = REG_OPTION_NON_VOLATILE
iAccess	     = KEY_ALL_ACCESS
nAttrib	     = NULL
iHandle      = 0
iDisposition = 0

lRetVal = RegCreateKeyEx(@iBaseKey, @sSubKey, @iReserved, @iClass,;
@iOptions, @iAccess, @nAttrib, @iHandle, @iDisposition)

? lRetVal, iHandle, iDisposition

RETURN
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform