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

Reply To: It is possible to create a source that will open another?

Forums › TWAIN Classic › It is possible to create a source that will open another? › Reply To: It is possible to create a source that will open another?

July 27, 2006 at 7:33 am #23467
gabe
Participant
  • Topics - 9
  • Replies - 583
  • Total Posts - 592

>it’s possible to create a twain source that will open another source installed on my computer?

yeah, you’re just building 2 projects.

>how can I create a valid handle to a window inner this DLL?

create a a native window, use its handle.

but i think you have at least one other largish issue if you follow this design. the driver for your scanner is occationally going to want to display some errors as dialogs that you’ll have to have one of your projects handle. for an example, unplug your device then try to scan with a twain app. I bet you get a dialog – and when your code does the opening part in twain you won’t get a twain return code telling your app that there is a problem until _after_ you click on the dialog. i had a similar situation and ended up using cbtHooks to deal with it, but truthfully its a hassle becasue i have to have info about the dialogs that i want supressed and every once in a while a driver update comes with a slightly different dialog.

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