Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass C-style variables to an OCX
Message
From
09/01/2001 07:35:07
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Pass C-style variables to an OCX
Miscellaneous
Thread ID:
00461071
Message ID:
00461071
Views:
46
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);
Reply
Map
View

Click here to load this message in the networking platform