Home › Forums › TWAIN Classic › Transition from state 5 to 6 › Reply To: Transition from state 5 to 6
@TheCrow99 wrote:
do you know any command which gives me what type of container a capability-item is stored in:
if I get the settings for xresolution for example the container type can either be TWON_RANGE or TWON_ENUMERATION and I would like to know in advance which one it is.
xResolution.Get usually returns as an enum (could just be the devices I use), but I imagine that you’re really just going to have to check for each device. If you already know what device you’ll be supporting just run Twacker.
The loading settings from a file – doesn’t sound like a bad idea. If the file or a portion of the file were based on CustonDsData you’d really be on your way to completely controlling the device, but your project goals seem modest – you don’t always need to build a rocketship, sometimes you just need a raft. If you have a solution that is working, great.
If you have questions just ask
.