Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't pass parameter and call function in the DLL
Message
From
06/02/1999 09:04:46
 
 
To
06/02/1999 08:30:52
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00182255
Message ID:
00184682
Views:
28
>Ed Rauh,
>
>>>>Chan1 = CHR(8) + CHR(1) + NumToBININT(1) + NumToDWORD(5)
>
>I can found the functions of NumToBININT() in your CLSHEAP.prg
>so when i try to pass the parameter into DLL error occur !

Sorry - use NumToShort() or NumToWord() rather than NumToBinInt() - I renamed the function from my library to make the name clearer. The source code is there, so you can look at and read the code, and it is pretty heavily commented.

NumToShort() should be used to work with signed integers - it's slower than NumToWord(), and creates an identical string for numbers in the range (0..2^15-1)
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
Next
Reply
Map
View

Click here to load this message in the networking platform