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

TWAIN driver work on Windows 2003 server or Citrix…

Forums › TWAIN Classic › TWAIN driver work on Windows 2003 server or Citrix…

  • This topic has 2 replies, 2 voices, and was last updated 13 years, 3 months ago by Massay.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 16, 2008 at 5:49 am #22273 Reply
    Massay
    Participant
    • Topics - 9
    • Replies - 2
    • Total Posts - 11

    Dear all TWAIN friends,

    Now we plan to develop an application which works with Citrix system. but there is an issue which is from our customer, Can you help to check the issue? Thanks So much….

    //



    Basically what is happening is the software is not reading the twain_32.dll file that is in the C:windows directory. It’s actually looking for it in the c:documents and settings%username%windows directory. Since all the users have roaming profiles it’ll look for it there. In Windows2003 the windows directory has been moved from the profile to the home directory. So in our case it would be located on \swizznetfs01users%username%windows.

    Hopefully I didn’t lose you. If you run across a user who can’t scan through page manager, just log into Swizznetfs01 and go to the D: drive, open up a user folder that you know scanning works and click on windows and copy the twain_32.dll file and past into the same directory on the user that isn’t able to scan. Have the user completely log off and you’re done.

    //



    As we know, TWAIN_32.dll is put in windows system directory, not in user path, Can you help to provide some useful information for the issue?

    Thanks again.

    best wishes

    massay 🙂

    January 16, 2008 at 8:19 am #24278 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    the problem you’re describling is often just an issue of what path you use when you call loadlibrary.
    On a terminal server the GetWindowsDirectory/GetWinDir doesn’t return C:WINNT but instead a windows directory under the users account, use GetSystemWindowsDirectory instead, or load both (one after another) and track the selected source with respect to which twain_32.dll it lives in.

    see: http://msdn2.microsoft.com/en-us/library/ms724403(VS.85).aspx

    January 16, 2008 at 8:34 am #24279 Reply
    Massay
    Participant
    • Topics - 9
    • Replies - 2
    • Total Posts - 11

    Dear gabe,

    Thanks for your help.

    I will modify the function in my side.

    Thanks & best wishes

    Massay

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: TWAIN driver work on Windows 2003 server or Citrix…
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

  • TWAIN for dental imaging integration
  • 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
  • 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.