brandonbrown
USA
37 Posts |
Posted - Dec 29 2021 : 11:44:55
|
This was really weird and I'm not sure what to do exactly.
I am getting an Unhandled Exception in the debug (or actually the EXE also) of a longtime working app all of a sudden when doing this call on the form startup:
If (multiScan.ImageList.TWainParams.Sources().Count < 1) Then
<or>
multiScan.ImageList.TWainParams.SelectSourceByName(strScanner)
I put in some test code to create a multi object before that with no issue:
Dim multi As New HiComponents.IEvolution.IEMulti multi.ImageList.LoadImages("C:\test\test.tif") multi.Dispose()
The exact error, which doesn't give much detail is:
System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'
No other details here.
I reinstalled IEvolution, removed the iecore.dll from SYSWOW64 and System32. I don't remember putting them there?
Older versions of the build EXE work fine so I don't think the TWAIN libraries are corrupt. Other scanning apps work fine.
Suggestions?
|
|