Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declare dll call caused an exception
Message
From
28/01/2005 18:11:23
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP2
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00979001
Message ID:
00981928
Views:
51
Hello,

assuming this:
"lpLenFront - Length of the file (ASCII) for the front of the check"
means the length of the FILENAME encoded in the first BYTE lpLenFront points to (unusual since this limits you to a maximum of 256 characters for the filename)

LOCAL lcFront, lcFrontLen, lcBack, lcBackLen, lcCode, ;
lcCodeLen, lnJobType, lnRetVal

lcFront = "C:\somefile.bmp" && some image file
lcFrontLen = CHR(LEN(lcFront))
lcBack = "C:\someotherfile.bmp"
lcBackLen = CHR(LEN(lcBack))
the same schema for lcCode & lcCodeLen

DECLARE INTEGER BUICScan IN BUICAPI.DLL ;
INTEGER iJobType, ;
STRING lcCode, ;
STRING lcCodeLen, ;
STRING lcBack, ;
STRING lcBackLen, ;
STRING lcCode, ;
STRING lcCodeLen

lnRetVal = BUICScan(lnJobType,lcCode,lcCodeLen,lcBack,lcBackLen,lcCode,;
lcCodeLen)

Regards
Christian
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform