Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Subject:
Message icon:

Attach:
(Clear Attachment)
(more attachments)
Allowed file types: gif, jpg, png, txt, tpl, lng, ini, pvd, psf, ini, cfg, csv, zip, xml, pas, 7z
Restrictions: 4 per post, maximum total size 1024KB, maximum individual size 1024KB
Note that any files attached will not be displayed until approved by a moderator.
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
How many words are in this question?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: rick.ca
« on: February 12, 2010, 08:17:33 pm »

Quote
...do not know what driver I need to update.

I suppose it might be installed by the software/driver for any printer, scanner, camera, etc.

Quote
Renaming the file proved difficult.

It's a system protected file, so the permissions need to be changed. See "What is the exact role of the 16-bit TWUNK_16.EXE for 32-bit Windows TWAIN scanning? Is it possible to disable it?" near the end of this TWAIN.org FAQ.
Posted by: b_sleeth
« on: February 12, 2010, 03:34:38 pm »

Rick,

Thank you for the suggestion.  I also do not use a scanner (at least not on this system).  I have no idea how/why this version of the twain driver was installed, and therefore, do not know what driver I need to update.

In the meantime, following your suggestion, I renamed the file.  PVD now starts without an error message and I did not see any errors logged in the Event Viewer.  I will keep an eye out for any errors that might pop-up related to this (I doubt there will be any).

FYI: Renaming the file proved difficult.  I ended up finding a solution at http://www.experts-exchange.com/Microsoft/Hardware/Q_24082861.html  Guymar had a hard time as well and eventually found a solution somewhere else.  His solution was:

Quote
Solution Part 1:
Update drivers: go to relevant download section of your vendor, get them. Then go to device manager and delete current drivers (ticking the box removing them). Install/unpack vendor drivers and reboot.

Solution part 2:
Manual rename (or delete) both TWAIN.DLL and TWUNK_16.EXE

  • Log on with an admiistrator user account (*)
  • Go to start menu, accessories, right-klick on command prompt and "run as administrator"
  • Type: takeown /f c:\windows\twain.dll
  • Type: icacls c:\windows\twain.dll /grant %USERNAME%:f
  • Type: takeown /f c:\windows\twunk_16.exe
  • Type: icacls c:\windows\twunk_16.exe /grant %USERNAME%:f
  • Type: ren twain.dll twain.dll.bak
  • Type: ren twunk_16.exe twunk_16.exe.bak

*Note: If your username contains a space it will not work!! "John Doe" will have to create a user John or use the administrator user (if activated).
Posted by: rick.ca
« on: February 12, 2010, 07:04:21 am »

Welcome, b.

Twunk_16.exe is a component of TWAIN, the interface between applications and your scanner. PVD includes controls for adding scanned images, so I suppose the program is asking Windows for a TWAIN device on startup. I'm not sure why you would have or need Twunk_16.exe on your system, unless it's to support an old 16-bit program running in compatibility mode. I would try disabling it (by renaming), and see if that resolves the matter without other consequences.

In case it's relevant... I don't use the scanner feature, although I do have a TWAIN scanner on my Window 7 64-bit system. When I try an Acquire from scanner control, I get a "No TWAIN device found" error message.
Posted by: b_sleeth
« on: February 12, 2010, 04:36:48 am »

Just upgraded from 0.9.9.14 to 0.9.9.16 on Windows Vista Home Premium 64-bit.  When starting the application, I get the splash screen, then an error window titled "Unsupported 16-Bit Application" with the following text:

The program or feature "\??\C:\Windows\Twunk_16.exe" cannot start or run due
to incompatibity with 64-bit versions of Windows. Please contact the software
vendor to ask if a 64-bit Windows compatible version is available.


The only button is "OK".  Once I click OK, the error window closes and the application continues to start.  PVD seems to be running fine once started.

BTW: The error message does misspell incompatibility as "incompatibity".
anything