Forums › TWAIN Classic › Bad TWAIN structure definition › Reply To: Bad TWAIN structure definition
May 9, 2008 at 7:56 pm
#24490
I still believe that the structure packing is not correct.
twain.h uses __BORLANDC__ to determine if you are using a Borland compiler. Make sure this is set in your environment. The switch for Borland is different than the one I gave earlier.
#ifdef __BORLANDC__
#pragma option -a2
#else
Jim Watters