Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anyone used EZTWAIN with success?
Message
De
03/02/2009 09:33:36
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Anyone used EZTWAIN with success?
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01378962
Message ID:
01378962
Vues:
120
Hi All,

I'm trying to so some image capturing with the free library, EZTWAIN. I got started after reading an article by Mike Lewis at http://www.ml-consult.co.uk/foxst-29.htm entitled "Controlling TWAIN devices from within VFP". I'm getting stuck at the line of code that tries to write the image to a file using

m.lnReply = TWAIN_WriteNativeToFilename(m.lnImageHandle, m.lcFile)

It always returns a negative number and the resulting file size is zero! I've set the file parameter to "C:\test.bmp".

Has anyone ever used this to successfully capture an image to a BMP? I'm using the most up-to-date version of the free library.

TIA,
Mike
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform