ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 how Twain work on win64?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

anbangs

25 Posts

Posted - Oct 09 2022 :  04:55:13  Show Profile  Reply
ImageEnView1.IO.TwainParams.VisibleDialog := True;
ImageEnView1.IO.AcquireOpen;


It cannot work normally on the win64 platform, unable to scan and cannot close the twain form

xequte

39053 Posts

Posted - Oct 09 2022 :  20:23:28  Show Profile  Reply
Hi

What version of ImageEn are you using?

Unfortunately most scanner manufacturers do not include 64bit drivers at all, so you should check whether there are any available for that device.

You should use WIA instead of Twain. For 64bit support on Windows, manufacturers usually include a "WIA over Twain" driver.


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

anbangs

25 Posts

Posted - Oct 10 2022 :  01:54:59  Show Profile  Reply
the version is 10.0.2
ImageEnView1.IO.Acquire; //this can work normally on the win64 platform,but AcquireOpen
Go to Top of Page

xequte

39053 Posts

Posted - Oct 10 2022 :  17:38:20  Show Profile  Reply
Hi

AcquireOpen() uses Twain. Acquire() can use Twain, WIA, etc.

Can you explain more about what you are seeing and the error that you get?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

anbangs

25 Posts

Posted - Oct 10 2022 :  19:35:14  Show Profile  Reply
you can use "Demos\imageendemo\ImageAcquisition\Twain\TwainDemo.exe"

compile it into a 64 bit program, and then try the effect

Go to Top of Page

xequte

39053 Posts

Posted - Oct 10 2022 :  22:52:01  Show Profile  Reply
It looks like you are using an old version. Also that demo line should be: ImageEnView1.IO.Acquire();

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

anbangs

25 Posts

Posted - Oct 11 2022 :  01:03:47  Show Profile  Reply
After calling Acquire, the twain form will automatically close, AcquireOpen don't.
I need to keep the twain form open,Until I turn it off manually
Go to Top of Page

anbangs

25 Posts

Posted - Oct 13 2022 :  02:27:57  Show Profile  Reply
Maybe you don't understand me.
it means Calling AcquireOpen on the win64 platform cannot operate the Twain form, but calling Acquire can
Go to Top of Page

xequte

39053 Posts

Posted - Oct 13 2022 :  16:03:44  Show Profile  Reply
Hi

To display the Twain form, you should enable: ImageEnView1.IO.Acquire.VisibleDialog.

Do you have any 64bit applications that are able to acquire on that system?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

anbangs

25 Posts

Posted - Oct 13 2022 :  21:34:50  Show Profile  Reply
HI!
I have compiled the demo into 64 bits, and set ImageEnView1.IO.Acquire.VisibleDialog := True; and call AcquireOpen.

call Acquire--->OK(twain form can work normal)
call AcquireOpen----->Error(twain form can not work normal)
Go to Top of Page

xequte

39053 Posts

Posted - Oct 16 2022 :  21:17:29  Show Profile  Reply
Hi

Sorry, I'll need to have my partner investigate that.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

anbangs

25 Posts

Posted - Oct 17 2022 :  20:00:08  Show Profile  Reply
look forward to your reply
Go to Top of Page

xequte

39053 Posts

Posted - Oct 21 2022 :  15:09:17  Show Profile  Reply
Hi

Not all drivers support the AcquireOpen() method. Can you test your project using the FreeImage Software scanner driver:

https://sourceforge.net/projects/twain-samples/files/TWAIN%202%20Sample%20Data%20Source/

It works correctly with 64bit when we test it here.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

anbangs

25 Posts

Posted - Dec 20 2022 :  19:06:36  Show Profile  Reply
thanks
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: