- Topics - 0
- Replies - 2
- Total Posts - 2
@Graham Dicker wrote:
I want to include in my Windows application the ability to capture an image from a scanner, determine if it has a bar code on it, and save the image as a TIFF. I am assuming that TWAIN is what I should be using. So I downloaded the sample source code and tried to compile it but I get about a dozen unresolved externals (see example below). The project I am trying to compile is TWAIN_APP_VS2003_mfc
TWAIN_App_mfc error LNK2019: unresolved external symbol “int __cdecl VerifyEmbeddedSignature(wchar_t const *)” (?VerifyEmbeddedSignature@@YAHPB_W@Z) referenced in function “bool __cdecl LoadDSMLib(char *)” (?LoadDSMLib@@YA_NPAD@Z)
Can anybody help me please?
You need to include the VerifySignature.cpp source file. Depending on your OS you may need to comment out the following variable WinTrustData.dwUIContext = 0; . Depending on the application you are tyring to compile you will need to include other source files as well.