I am using Qt6.2.2 in Win10 with VS2019 to build a project that involves using MsgWaitForMultipleObjects function from Windows API:
#include <windows.h>
// major codes omitted
hFrameEvent = camera.GetFrameEvent();
Here camera
is an instance of C1394Camera for image collection.
dwRet = MsgWaitForMultipleObjects(1,&hFrameEvent,FALSE,timeout,QS_ALLINPUT); //MsgWaitForMultipleObjects is called
Building the project gives the error LNK2019 error unresolved external symbol __imp_MsgWaitForMultipleObjects referenced in function "public: void __cdecl ...
Does the error mean that the MsgWaitForMultipleObjects
is not properly used or something wrong with my windows SDK or the camera
pointer?