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 with SelectSource

Forums › TWAIN Classic › Problem with SelectSource

  • This topic has 1 reply, 1 voice, and was last updated 10 years, 1 month ago by DevTwainPrt.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 8, 2011 at 2:44 pm #22666 Reply
    DevTwainPrt
    Participant
    • Topics - 3
    • Replies - 3
    • Total Posts - 6

    hello,
    i am writting this code but it not work ok, can yoy help me?
    TW_IDENTITY NewDSIdentity;
    memset(&NewDSIdentity, 0, sizeof(TW_IDENTITY));

    NewDSIdentity.Id = 0;
    lstrcpy (NewDSIdentity.ProductName, “”);

    rc = (*pDSM_Entry) (&AppID, NULL, DG_CONTROL,DAT_IDENTITY, MSG_USERSELECT, (TW_MEMREF) &NewDSIdentity);

    rc finish with error = 1, but then i get de status and it finished with twStatud.coditionerror = 0 (ok??)

    rc = (*pDSM_Entry) (&AppID, NULL, DG_CONTROL,DAT_STATUS, MSG_GET, (TW_MEMREF)&twStatus);

    Thanks

    March 9, 2011 at 10:42 am #25401 Reply
    DevTwainPrt
    Participant
    • Topics - 3
    • Replies - 3
    • Total Posts - 6

    it is already working!!!

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Problem with SelectSource
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

  • PDF/R For who and where?
  • Making searchable PDF with PDF/R
  • Backward compatibility with PDF/A and traditional PDF
  • could not open the twain source. Make sure there is a valid source for your sca
  • Changing TWAIN driver defaults
  • 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.