Home › Forums › TWAIN Classic › twain on linux › Reply To: twain on linux
March 19, 2009 at 5:47 pm #24830
Yes you have discovered a bug in the code.
some #ifdef TWH_CMP_MSC around the code for MSG should resolve it for Linux for now.
#ifdef TWH_CMP_MSC
MSG Msg;
if(!GetMessage((LPMSG)&Msg, NULL, 0, 0))
{
break;//WM_QUIT
}
#endif
#ifdef TWH_CMP_MSC
TranslateMessage ((LPMSG)&Msg);
DispatchMessage ((LPMSG)&Msg);
#endif
Regards,
Jim Watters
**************************************************
JFL Peripheral Solutions Inc.
http://www.jflinc.com/
Your Expert Source of Custom Software and Services
for TWAIN Applications, Data Sources,
Peripheral Drivers and Support Software.
**************************************************