Forums › TWAIN Classic › Looking for a "push model" (ICAP_FEEDERLOADED) exa › Reply To: Looking for a "push model" (ICAP_FEEDERLOADED) exa
December 17, 2009 at 9:00 pm
#25080
I am back this topic again and I don’t understand how this works..
I added this to the code that I got from that link:
internal enum TwCap : short
{
XferCount = 0x0001, // CAP_XFERCOUNT
ICompression = 0x0100, // ICAP_…
IPixelType = 0x0101,
IUnits = 0x0102,
CAP_FEEDERLOADED = 0x1003,
IXferMech = 0x0103
}
now, in the code I have this which doesnt work:
while(true)
{
while (TwCap.CAP_FEEDERLOADED )
{
}
}
— i get an error that TwCap.Cap_FeederLoaded cannot be converted to Bool…
Not sure how to use this to check for scanner being ready to scan…