Forums › TWAIN Classic › Bad TWAIN structure definition › Reply To: Bad TWAIN structure definition
May 6, 2008 at 6:30 pm
#24486
Sounds like the structure packing is not set to 2
#pragma pack (2)
This is done automatically if you are including twain.h to get the structures. If you are defining your own structures then you will need to do this yourself.
Jim