Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DECLARE - DLL with EZTW32.DLL (EZTWAIN)
Message
De
15/12/1998 18:44:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
DECLARE - DLL with EZTW32.DLL (EZTWAIN)
Divers
Thread ID:
00167876
Message ID:
00167876
Vues:
359
Here is what I am using to test with:

------------------------------------------------------------
DECLARE INTEGER TWAIN_IsAvailable IN EZTW32 AS TW_Avail
DECLARE INTEGER TWAIN_EasyVersion IN EZTW32 AS TW_Ver
DECLARE INTEGER TWAIN_SelectImageSource IN EZTW32 AS TW_SelectImageSource
DECLARE INTEGER TWAIN_AcquireNative IN EZTW32 AS TW_AcquireNative
DECLARE INTEGER TWAIN_WriteNativeToFilename IN EZTW32 AS TW_WriteNativeToFilename
DECLARE INTEGER TWAIN_FreeNative IN EZTW32 AS TW_FreeNative

cAvail = TW_Avail()
cVer = TW_Ver()
cImgSrc = TW_SelectImageSource()
cAcqNat = TW_AcquireNative()
cToFile = TW_WriteNativeToFilename()
cFreeNat = TW_FreeNative()
---------------------------------------------------

I was able to figure some of this out from a FPW example, but
am having trouble in making these work in VFP.

The first error I keep getting is: 'EZTWAIN: window handle is invalid'. This error seems to just be more informative than
a real error. But I would still like to get rid of it.

The next error occurs at TW_AcquireNative(): 'Failed to negotiat pixel type. App and source found no values in common.'

I am sure I am missing parameters, but I do not know
what or how they are used. I looked through the 500+ pages of
documentation for EZTwain but am not really understanding how
to implement these perameters.

Does someone know a source where I can find info on using VFP with
EZTW32.DLL? Or has anyone already done this that knows these parameters?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform