Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass it to API?
Message
From
10/02/2000 21:11:01
 
 
To
10/02/2000 20:37:39
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00330468
Message ID:
00330477
Views:
11
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform