Forum Replies Created
- AuthorPosts
root@test-rfid:/tmp/twainapp.source.2.0.5/Twain_App_sample01/src# qmake src.pro
root@test-rfid:/tmp/twainapp.source.2.0.5/Twain_App_sample01/src# make
As regard the first question, i found there is a link to the data source manager on the main page.
I am trying to install the example application on linux ubuntu.
I mean the one at this urlhttps://sourceforge.net/project/showfiles.php?group_id=212173 .
I followed the instructions but when i make i get this
main.cpp: In function âvoid EnableDS()â:
main.cpp:312: error: âMSGâ was not declared in this scope
main.cpp:312: error: expected `;’ before âMsgâ
main.cpp:314: error: âLPMSGâ was not declared in this scope
main.cpp:314: error: âMsgâ was not declared in this scope
main.cpp:314: error: âGetMessageâ was not declared in this scope
main.cpp:319: error: âMsgâ was not declared in this scope
main.cpp:348: error: âLPMSGâ was not declared in this scope
main.cpp:348: error: âTranslateMessageâ was not declared in this scope
main.cpp:349: error: âDispatchMessageâ was not declared in this scope
make: *** [main.o] Error 1what’s wrong?
The dll has a window in which we process messages, in the processing of messages, at the beginning, we have placed this code
if(msg.message == WM_GETDLGCODE)
return;and the problem has been solved.
In response to MSG_CLOSEDSREQ i am closing the data source, it seems there is not action for MSG_CLOSEDSOK.
When i say ‘form’ i am referring to a dialog.
- AuthorPosts