I need to detect a touch screen active(touched)for the entire screen area even over a control.(the requirement is to detect a stuck touch screen if the screen is touched for more than 30 seconds) I get a OnLButtonDown event for areas of the screen that are not controls but do not get this event if the area is over a control. We would like to use the DdsiTouchPannelGetPoint function but we need the Tchmdd.lib. Can you provide it?
We installed the libary file and we are still getting a error on linking. Do you have any ideal about the cause. Can you also send the header file for this libary? The eror message is below.
To call this function we need the lib file "Tchmdd.lib" and the header file "Tchddsi.h". Now the problem is we included the file in our project we still got link error message: ******************* NewClassTestDlg.obj : error LNK2019: unresolved external symbol DdsiTouchPanelGetPoint referenced in function "protected: void __cdecl CNewClassTestDlg::OnTimer(unsigned int)" (?OnTimer@CNewClassTestDlg@@IAAXI@Z) ARMV4IRel/NewClassTest.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.
*******************
Do you have any idea about this? or any other way to check the status of touch screen. Is it possible the "Tchmdd.lib" we got does not match the SDK we have?
We are using the ADS SDK for the bity X card for CE 4.2.
There's a chance that your compiler is having trouble accessing the C function library from a C++ application. Can you try telling the compiler that the signature is not C++ but instead C? I don't know how to do this, but maybe you do?!