MC92N0 c# sample application CoreScanner registration

Hi,

I am trying to get the c# smaple application from the Scanner SDK for windows. Every time I run the following lines:

static CoreScanner.CCoreScannerClass cCoreScannerClass;

static void Main(string[] args){

          int status;

          cCoreScannerClass = new Corescanner.CCoreScannerClass();

}

 

on a computer it works fine. If i try to deploy it on my handheld device (MC92N0), i get the following error:

COM object with CLSID '{9F8D4F16-0F61-4A38-98B3-1F6F80F11C87}' cannot be created due to the following error: Class not registered.

 

I am deploying it with visual sutdio 2008. I checked the option to deploy the latest version of the framework on the device. Both the emdk for windows and the Scanner SDK are installed on the computer.
I just do not understand how to make it work.

Anonymous (not verified)
The scanner SDK for Windows

The scanner SDK for Windows is for Desktop windows.  The OS on the Windows versions of the MC92N0 are CE based.  Desktop Windows apps will not work on those devices.  If you are trying to use the built in scanner,  you would want to use the EMDK for .Net.  There will be sample apps on your PC if you have that loaded.  You should find the samples in C:\Users\Public\Motorola EMDK for .NET\v2.9\Samples VS2008\C#\ 

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Felix Veillette...
This is what I have realised.

This is what I have realised. I found EMDKfordotNET in C:\Users\Motorolad EMDK for .net\v2.9\Help Files\EMDKfordotNet.hmtl yesterday and got my scanner to work with those classes.

Thank you.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments