hi all
i have a problem for coding to read 1D barcode.
the visual studio error is:
error LNK2019: 无法解析的外部符号 __imp__imaqReadBarcode2@28,该符号在函数 "protected: virtual int __thiscall COCRFunctionDlg::OnInitDialog(void)" (?OnInitDialog@COCRFunctionDlg@@MAEHXZ) 中被引用
1>E:\VS2010\OCRFunction\Debug\OCRFunction.exe : fatal error LNK1120: 1 个无法解析的外部命令
when my use other function (pattern match or match sharp)not this error, but imaqReadBarcode2 or imaqReadBarcode3 have this error , imaqReadBarcode function have no error
.h file :
#include "nimachinevision.h"
#include "niocr.h"
#include "nivision.h"
#include "io.h"
#pragma comment(lib,"nivision.lib")
have comment library
please help very thanks