Glenn,
Is Inspector Twain (IT) still in active development? Maybe I'm missing something but the forum messages are over a year old.
The reason I ask is I'm testing my company's TWAIN with IT v2.0.0.4 and I found a bug. IT gives me an error message, "MSG_SET failed even though the driver indicates it's supported", on several capabilities: ICAP_COMPRESSION, ICAP_UNITS , CAP_AUTOFEED, ICAP_IMAGEFILEFORMAT, ICAP_PLANARCHUNKY, ICAP_BITDEPTH, and ICAP_BITDEPTHREDUCTION. In debugging, I find that the value IT is setting is not valid for my DS.
Except for CAP_AUTOFEED, what these capabilities have in common is the specification says they can all return a TW_ENUMERATION on MSG_GET but my DS returns a TW_ONEVALUE which is also allowed by the spec. IT is correctly using a TW_ONEVALUE to set these but the value it sets is not supported by my DS.
For example, when setting ICAP_PLANARCHUNKY, IT gives me this:
TW_CAPABILITY structure:
Cap : 0x1120 (ICAP_PLANARCHUNKY)
ConType: 5 (TWON_ONEVALUE)
TW_ONEVALUE structure:
ItemType: 4 (TWTY_UINT16)
Item : 4 (???)
The Item value in the TW_ONEVALUE should be 0 (TWPC_CHUNKY) since that's the only value my DS supports but instead it's giving me 4 which happens to be the same as TWTY_UINT16.
In all of the capabilities listed above, IT is trying to set the TWTY_ value as the Item value. So for all of the TW_UINT16 capabilities, the Item value is 4 (TWTY_UINT16). For the TW_BOOL capability (CAP_AUTOFEED) the item value is 6 (TWTY_BOOL).
Any other reports of this problem? I can send my DS to Atalasoft for testing if needed.
-Doug