Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use VFP5 to load dynamic VxD?
Message
De
27/11/1998 23:26:30
 
 
À
27/11/1998 22:43:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00162084
Message ID:
00162097
Vues:
22
>Can VFP5 load the VxD just like the Visual C++ 5 use DeviceIOControl funtion to load the VxD.

You can access the DeviceIoControl() API call from VFP. It would prototype as follows:
DECLARE SHORT DeviceIoControl IN WIN32API ;
   INTEGER hDeviceHandle, ;
   INTEGER dwIOControlCode, ;
   STRING lpInBuffer, ;
   INTEGER dwInBufferSize, ;
   STRING lpOutBuffer, ;
   INTEGER dwOutBufferSize, ;
   INTEGER @ lpdwBytesReturned, ;
   STRING lpOverlapped
You'll need the MSDN documentation and detailed knowledge about the type of device you're trying to manipulate to make use of the API call.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform