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: location of mydriver.ds

Forums › TWAIN Classic › location of mydriver.ds › Reply To: location of mydriver.ds

August 2, 2007 at 9:47 am #23926
gabe
Participant
  • Topics - 9
  • Replies - 583
  • Total Posts - 592

reading thru the spec (again)(again) and this caught my eye on pg 110 of the twain2d.pdf:

Naming and Location
The DLL’s file name must end with a .DS extension. The Source Manager recursively searches
for your Source in the TWAIN sub-directory of the Windows directory
(typically
C:WINDOWS on Windows 95/98, or C:WINNT on Windows NT). To reduce the chance for
naming collisions, each Source should create a sub-directory beneath TWAIN, giving it a name
relevant to their product. The Source DLLs are placed there. Supporting files may be placed
there as well, but since this is a system directory which may only be modifiable by the System
Administrator, Sources must not write any information into this directory after the installation.

So this makes me wonder how clever the source manager is. Does it recursively search in the twain sub-directory (hardcoded to look under %windir% first) or is it maybe slightly less clever just searching recursively ‘twain_32 ‘ from the current directory…

Seems like this would be easy to test by copying %windir%twain_32.dll to the app directory, adding a subdirectory to the app directory named twain_32 and putting you ds in there and using loadlibrary pointing to the application specific twain_32.dll.

any takers?

.

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

  • Big Ass Photos – Free Huge Butt Porn, Big Booty Pics
  • 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.
  • 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