Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass C-style variables to an OCX
Message
De
09/01/2001 07:35:07
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Pass C-style variables to an OCX
Divers
Thread ID:
00461071
Message ID:
00461071
Vues:
47
How can I pass variables to an OCX which expects (and returns) variables of a specific (usually C-based) datatype like word or double-word as parameters, types that don't exist in VFP ?

Example (get config info about connectionparameters with a Psion handheld) :

DWORD dwError, dwBaud, dwPort;
pPWENG->GetConfiguration(&dwError, &dwBaud, &dwPort);

Or :

DWORD dwError = 0; // Connect at 115200 on port 1
pPWENG->SetConfiguration(&dwError, 115200, 1);
Répondre
Fil
Voir

Click here to load this message in the networking platform