Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hell DLL or DLL hell
Message
De
26/09/2002 08:48:46
 
 
À
26/09/2002 07:57:20
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00701522
Message ID:
00704631
Vues:
19
>Just got back from a trip on the road, and this is my first opprotunity to both thank and commend you on your observation and recommendation. Thanks very much Sergey, it is now working as advertised and without your critical eye, I would still be ripping my hair out.
>
>Thanks
>
>Glenn
>
>>Hi Glenn,
>>There is no int parameter type in VFP. Correct type is INTEGER.
declare integer ls_getRecord in (lcDll) ;
>>	long lsHndle,long nRecno,INTEGER nFmtCode,string @ cRecord,INTEGER nRecordLength
>>
>>>I have been trying to implement a set of API function calls. All the other calls work just fine but this one fires VFP error #1230 (Too many arguments).
>>>
>>>declare integer ls_getRecord in (lcDll) ;
>>>	long lsHndle,long nRecno,int nFmtCode,string @ cRecord,int nRecordLength
>>>
>>>NlEN = ls_getRecord(lnStru,i,6,@cRecord,nBufflen)
>>>
FWIW, the INTEGER and LONG specifiers in the DECLARE command are exactly equivalent; they represent a signed 32-bit integer data type (31 bits + a sign bit, small-endian representation.)

>>>
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