I'm developing a scanning application and I'd like to enable the Scan button only when my/any scanner is available.
I tried achieve this with GdPicture but without any success (btw. it's really poor library, don't use it). I also tried to get some kind of similar event using Atalasoft's TWAIN and lower-level TWAIN library (which I found thanks to that post). None worked.
I also have an idea to detect new devices connected to the computer and than rescan for TWAIN devices but maybe anyone of you know better solution. Any ideas?