Home › Forums › TWAIN Classic › Bad TWAIN structure definition › Reply To: Bad TWAIN structure definition
I can’t answer to your question, I’ve corrected my header myself. The fact is the following: after a few hours of debug I noticed that the following strings:
TW_I_DEN_TI_TY.Manufacturer
TW_I_DEN_TI_TY.ProductFamily
TW_I_DEN_TI_TY.ProductName
were shifted 2 bytes left. I.e: KODAK would have read DAK. And the SupportedGroups was an impossible number. As soon as I have modified the type of SupportedGroups from TW_UINT32 from TW_UINT16 all the strings got right (i.e.: KODAK was read KODAK) and the SupportedGroups was the true OR of DG_CONTROL and DG_IMAGE. Incredible, but true.
Now I am spending my time trying to set a TW_FIX32 capability (CAP_XRESOLUTION) using a TWON_ONEVALUE container. It looks like a “mission impossible”.
Any help about this ?
Alvise