Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declare dll call caused an exception
Message
De
28/01/2005 18:11:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP2
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Divers
Thread ID:
00979001
Message ID:
00981928
Vues:
52
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform