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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 MIO->SelectedAcquireSource and Access violation

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
graph_man 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
7   L A T E S T    R E P L I E S    (Newest First)
xequte 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
graph_man 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 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 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 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 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 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