Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass it to API?
Message
De
10/02/2000 21:11:01
 
 
À
10/02/2000 20:37:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00330468
Message ID:
00330477
Vues:
10
>Hi,
> How do I pass parameter to API which defined as Long in STRUCTURE?
>

A Long is a 4 byte INTEGER. If it is embedded as a member of a structure, it needs to be converted to a 4 byte string equivalent to the internal C representation of the integer. There are UDFs in my CLSHEAP class, available for download here on UT,that can convert between a VFP number an an equivalent string, or convert the 4 byte representation intoa VFP number.
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