Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hell DLL or DLL hell
Message
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00701522
Message ID:
00701976
Views:
13
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)
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform