Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't pass parameter and call function in the DLL
Message
De
06/02/1999 09:04:46
 
 
À
06/02/1999 08:30:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00182255
Message ID:
00184682
Vues:
29
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform