Forum Replies Created
- AuthorPosts
On a terminal server the GetWindowsDirectory/GetWinDir doesn’t return C:WINNT but instead a windows directory under the users account.
To get around this problem you can either copy the TWAIN files (twain.dll, twain_32.dll, twunk_16.exe and twunk_32.exe) to the above mentioned user “windows” directory and create a TWAIN_32 folder in the same for the data sources, or you can set a registry compatibility flag for you application to get GetWindowsDirectory to return the true Windows directory.
Refer to http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B186499In the registry folder:
HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionTerminal ServerCompatibilityApplicationsAppname
set Flags (a reg_dword) to 408h if you application is 32 bit. The value 40Ch may be more appropriate, as this seems to be quite common for all the pre-existing keys. This last flag mean Win-32, Win-16 and return literal windows dir.
“Appname” above is your applications file name minus the “.exe” part.A last note – this will most likely only work if the scanner is physically attached to the Terminal server’s (COM, LPT, SCSI or USB) port.
Her is the Danish translation of the four sentences
TWLG_DANISH
Select Source: Vælg Enhed
Source: Enhed
Select: Vælg
Cancel: Annuller- AuthorPosts