Home
Features
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
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
MIO->SelectedAcquireSource and Access violation
New Topic
Reply to Topic
Author
Topic
graph_man
328 Posts
Posted - Jun 09 2017 : 08:18:04
void __fastcall TAFTV_FormMain::Scanner1Click(TObject *Sender)
{
TIEAcquireSource MyAcquireSource;
TIEAcquireApis AcquireApis = TIEAcquireApis() << ieaTwain << ieaWIA;
if (ImageEnMViewScan->MIO->SelectAcquireSource(AcquireApis))
{
MyAcquireSource = ImageEnMViewScan->MIO->SelectedAcquireSource;
AcquireSourceName = MyAcquireSource.Name;
}
}
What is reason and how to fix?
ps
I use the latest version of ImageEn
xequte
38615 Posts
Posted - Jun 10 2017 : 01:21:38
Hi
On which line does the A/V occur? Does changing the API selection affect it?
Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
graph_man
328 Posts
Posted - Jun 10 2017 : 10:27:47
> On which line does the A/V occur?
This line:
MyAcquireSource = ImageEnMViewScan->MIO->SelectedAcquireSource;
> Does changing the API selection affect it?
Yes
xequte
38615 Posts
Posted - Jun 11 2017 : 19:31:24
>> Does changing the API selection affect it?
>
> Yes
So, which raises the error, ieaWIA or ieaTwain?
Does this issue occur even with the AllAcquire demo in Demos\ImageAcquisition\AllAcquire\?
Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
graph_man
328 Posts
Posted - Jun 12 2017 : 03:55:29
> So, which raises the error, ieaWIA or ieaTwain?
Both
Does this issue occur even with the AllAcquire demo in Demos\ImageAcquisition\AllAcquire\?
Does not
Because in the demo there isn't string:
ImageEnMViewScan->MIO->SelectedAcquireSource
after
SelectAcquireSource
xequte
38615 Posts
Posted - Jun 12 2017 : 17:48:16
Hi
Yes, it is in the demo if you click "Save Parameters". Does that also cause the error?
You might want to try stepping into the SelectedAcquireSource code to see where the error is occuring.
Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
graph_man
328 Posts
Posted - Jun 12 2017 : 18:05:19
> Yes, it is in the demo if you click "Save Parameters". Does that also cause the error?
NO
> You might want to try stepping into the SelectedAcquireSource code to see where the error is occuring.
How to do that?
xequte
38615 Posts
Posted - Jun 12 2017 : 20:11:52
Hi
Presumably there is an issue in your application. Please create a very simple demo that reproduces the error.
Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Topic
New Topic
Reply to Topic
Jump To:
Select Forum
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page