Link to home
Start Free TrialLog in
Avatar of rcblevins
rcblevins

asked on

Corescanner.exe fails to load on Windows 7 64 bit

I have a vb.net 2010 application that utilizes the Motorola Windows Scanner SDK to integrate barcode scanned data into the application.  This has worked fine on 32 bit and even my windows 7 64 bit development box, but not new Windows 7 64 bit computers that we just bought.   The event log says the CoreScanner.exe can't start because of the faulting module IBMHIDTrans.dll.  I think there must some kind of file missing on these new computers, but I can't figure it out.   I have installed the Windows 7 SDK, just to see if that made a difference, but no luck.  Has anyone ran into this issue before?  Thanks for any help.
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Hi rcblevins;

Have you recompiled the program to run on a 64 bit machine? If you did that is an issue because the dll, IBMHIDTrans.dll, is a 32 bit dll and will not run on a 64 bit machine. The reason it works on a 64 bit machine, not the new one, is that it is running under WoW64 bit subsystem which is for 32 bit code running on a 64 bit machine. If you were to take the 32 bit compiled code and ran it on the new machine with the 32 bit dll it should work.

A little info on WoW64 Wikipedia WoW64

The other issue can be that the device driver for the scanner is a 32 bit. You may try and contact the manufacture to see if they have a 64 bit version.
Avatar of rcblevins
rcblevins

ASKER

No, it was still being compiled as 32 bit.  The driver installed from Motorola is the 64 bit driver.  It tried changing the project to target 64 bit, but it's still doing the same thing.  Here is some more information on the error, if that helps:

Thrown from the program:

Creating an instance of the COM component with CLSID [9F8D4F16-0F61-4A38-98B3-1F6F80F11C87] from the IClassFactory failed due to the following error: 80010108.

Logged in the event log:

Event ID: 1000
Faulting Application: CoreScanner.exe
Faulting Module: IBMHIDTrans.dll
Exception Code: 0xc0000005

Thanks for your help.
Sorry do not have a clue. Have you contacted the manufacture of know issues working with the hardware you are trying to get it working on.
After looking into this further, it is the corescanner service that's failing and not able to start on the computer.  The corescanner service is running fine on my development machine, but will not start on this computer.  Any ideas on how to troubleshoot what's causing the service to crash?  Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sorry for the late response.  It ended up being the scanner we were using.  It's over 7 years old and no longer supported by Motorola's scanner division (Zebra now).  Zebra's support recommending getting a new scanner and that fixed it.  Thanks for your help.
Not a problem, glad to help.