Create a font and select it in the DC before calling TextOut, e.g.: static void CALLBACK OnFrameBitmap(void *Object, void *Sender, TFrameInfo *FrameInfo, TFrameBitmapInfo *BitmapInfo) {…
In a console application, a waiting loop is needed just after StartPreview(), otherwise, if exiting the app after StartPreview(), this just terminates immediately the background…
Invoke VideoGrabber->SetParentWindow(WindowHandle) to Pass the handle of the Cwnd window classe in which the video must be displayed. E.g.: m_VideoGrabber = new CVideoGrabber(this); m_VideoGrabber->SetParentWindow (TheWindow->GetSafeHwnd());…