I compiled Windows c++ Barcode scanner sample in visual studio
but I got " '_CoreScanner_i.c': No such file or directory" error message and I can't compile sample app.
where can I get this file?
'_CoreScanner_i.c' is missing in sample app's code |
'_CoreScanner_i.c' is missing in sample app's codeI compiled Windows c++ Barcode scanner sample in visual studio |
Subscribe to email updates
Monthly updates from our Zebra development team, straight to your inbox.
2 Replies
I explored "_CoreScanner.h" file, and I found out that the problem is some variables declared as EXTERN_C.
These 4 variables are declared as EXTERN_C.
- IID_ICoreScanner
- LIBID_CoreScanner
- DIID__ICoreScannerEvents
- CLSID_CCoreScanner
These variables need to have approprate initial value(GUID of class or library)
I found out classes' GUID from "_CoreScanner.h" and library ID from c# project
So this Nonofficial _CoreScanner_i.c code works!
========_CoreScanner_i.c=========(Nonofficial)
#include "rpc.h"
#include "rpcndr.h"
const IID IID_ICoreScanner = { 0x2105896C, 0x2B38, 0x4031, {0xBD,0x0B,0x7A,0x9C,0x4A,0x39,0xFB,0x93} };
const IID LIBID_CoreScanner = { 0xDB07B9FC, 0x18B0, 0x4B55, {0x9A,0x44,0x31,0xD2,0xC2,0xF8,0x78,0x75} };
const IID DIID__ICoreScannerEvents = { 0x981E3D8B, 0xC756, 0x4195, {0xA7,0x02,0xF1,0x98,0x96,0x50,0x31,0xC6} };
const CLSID CLSID_CCoreScanner = { 0x9F8D4F16, 0x0F61, 0x4A38, {0x98,0xB3,0x1F,0x6F,0x80,0xF1,0x1C,0x87} };
============================
How to solve basic calculations https://standard-deviationcalculator.com free online