TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

Problem compiling sample app

Forums › TWAIN Classic › Problem compiling sample app

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 7 months ago by mlcarey.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • May 29, 2009 at 7:44 am #22499 Reply
    Graham Dicker
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    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?

    Graham Dicker

    June 4, 2009 at 2:51 am #24912 Reply
    mlcarey
    Participant
    • 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?

    Graham Dicker

    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.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Problem compiling sample app
Your information:




Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Problem enumerating list of installed scanners in windows server 2012
  • Failed to create TWAIN progress! Error code is 1260.
  • To get the list of scanners from javascript client side (browser)
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.