If am trying to access a function in a dll and I declare it as follows
** VB dec as follows
DECLARE function bipapi_search lib "bipapi.dll"(ByVal Search_String as String,recno as Long,nrecs as Long,Byval Timeout as Integer) as Integer
** My VFP Dec As Follows
decl integer bipapi_search in D:\bowker\pluswin\bipapi.dll
string,@long,@long,integer
lcSearchfor = [ti="1 & 2 Kings"]
lnrecord=9999999999
lnrecs=9999999999
lntimeout=0
? bipapi_search(lcSearchfor, @lnrecord, @lnrecs,0)
when i run this in VFP I get an Error Too Many arguments on the Function call line .
If I remove the @ symbol i get a Nasty DR Watson Acces Violation Error.
Can anybody help me ?
TIA
Fred Besterwitch, MCP
The harder you work. The luckier you get.