Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
8
Erster Beitrag:
vor 4 Jahren, 10 Monaten
Letzter Beitrag:
vor 4 Jahren, 9 Monaten
Beteiligte Autoren:
Vassilis Boutsikas, Yogi Yang, Pragma Tix, Fabrice Harari

About TWAIN drivers

Startbeitrag von Vassilis Boutsikas am 28.03.2013 11:57

Hi All,

I have the following problem with Twain drivers under WIN 7 / 64bit:
Whe the WD application is run in 32bit mode, the TwainCurrentSource() and TwainSelectSource() functions work OK.
But whe the application is run in 64bit mode, these functions does not work, and I get "Cannot load TWAIN32_DLL driver" error message.
This is because of Scanner driver or because of these WD functions ?

Regards

Vassilis

Antworten:

Hi Vassilis

a 64 bit application needs a 64 bit driver... here, it looks like your twain driver is 32 bits (like MOST of them)

so either you try to find/install the 64 bit version of your driver _OR_ you try this:
http://www.eztwain.com/twain-bridge.htm

I haven't tested it, but it looks like it's made exactly for your case...

Of course, you can also only create your application as a 32 bit one

Best regards

von Fabrice Harari - am 28.03.2013 12:26
I downloaded the supposed 64bit version of Kodak scanner drivers, but the problem remains.

Vassilis

von Vassilis Boutsikas - am 01.04.2013 08:14
Looking at your initial post I think the problem is regarding difference between 32Bit and 64Bit.

Usually one cannot call 32bit resources from a true 64Bit app without thunking.

HTH

Yogi Yang

von Yogi Yang - am 01.04.2013 10:37
So, if I can understand correctly, the problem is in the corrssponding WD functions ?

Vassilis

von Vassilis Boutsikas - am 03.04.2013 05:22
Hi Vassilis,
You could use the TWAIN 64-32 Bridge driver ..
http://www.eztwain.com/twain-bridge.htm
Unfortunately this bridge driver is still beta ...

and of course ...file a bug report to PCS and ask for WIA (Windows Image Aquisation) support.

OR
edit
You compile your application in 32 bit mode..using the 32 bit driver.

#pragma

von Pragma Tix - am 03.04.2013 06:26
In order to overcome this situation, I use the compiled 32bit version !
I plan to send a bug report to PCSoft and ask them for WIA.

Many thanks to all of you.

Regards

Vassilis

von Vassilis Boutsikas - am 03.04.2013 09:22
No the problem is between 32Bit and 64Bit.

If you are using 32Bit drivers then you need to use 32Bit version of EZTwain and to work with 32Bit you will need to create 32Bit WD Apps.

HTH

von Yogi Yang - am 04.04.2013 04:24
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.