Home › Forums › TWAIN Classic › TWAIN driver work on Windows 2003 server or Citrix… › Reply To: TWAIN driver work on Windows 2003 server or Citrix…
January 16, 2008 at 8:19 am #24278
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