T O P I C R E V I E W |
Pieter192837465 |
Posted - Aug 09 2023 : 09:38:32 After we installed the version 11.4.5 of imageEn we get an error when we call te routine SelectAcquireSource.
if ienvImageEnView.io.SelectAcquireSource then ... ..
This is the error that occures : "Resource IEACQ_4000 not found"
This seems to happen if option ieaWIA is present in parameter Apis.
function SelectAcquireSource(Apis : TIEAcquireApis = [ieaTwain, ieaWIA]; DeviceGlyphHue : Integer = -999): boolean;
What does this error mean and how can this be solved.
Me_and_my |
3 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Aug 11 2023 : 19:24:01 Hi
This is two different issues. The WIA error is expected, because you have no devices with WIA drivers on the system.
The resource error is unexpected. ImageEn includes a file named "ieacqres.res" which contains resources that the Acquire selection dialog uses to show device glyphs. One of those resources is named "IEACQ_4000".
Looking at the code, I see there is an issue there on some systems, e.g. when there is no monitor scaling. Can you replace the "ieacqres.res" file on any locations on your system with the one in this zip:
attach/xequte/2023811192325_ieacqres.zip 1.66 KB
We'll have a fix for this in 12.3.0 which is coming in the next week or two.
Nigel Xequte Software www.imageen.com
|
Pieter192837465 |
Posted - Aug 11 2023 : 06:54:48 I have installed version 12.0.0 and i'm still getting the same error.
I have looked at the demo : \ImageEn\Demos\ImageAcquisition\WIAScanner
This shows a different message being "WIA device not found!"
It depends on the given option.
ienvImageEnView.io.SelectAcquireSource([ieaTwain,ieaWIA]) --> "Resource IEACQ_4000 not found" ienvImageEnView.io.SelectAcquireSource([]) --> "Resource IEACQ_4000 not found" ienvImageEnView.io.SelectAcquireSource([ieaWIA]) --> "WIA device not found!" ienvImageEnView.io.SelectAcquireSource([ieaTwain]) --> succes
Is there a way to catch the error with [try][Except]?
Could it be that this "Resource IEACQ_4000 not found" also occurs when no WIA driver is availeble?
|
xequte |
Posted - Aug 09 2023 : 22:56:26 Hi
Can you try uninstalling and then installing v12.0.0? I've not had any other reports of that, so there may be an issue with your ieacqres.res file.
Nigel Xequte Software www.imageen.com
|