I try to start and capture with PGR Flycapture SDK inside a worker thread that is created with CreateThread function of Windows API. Basically, thread function is a function of a class that has a pointer to captured image data and thread function sends message to main window via window messages once capture is done. But seems like it doesn’t work although it works like a charm in the main process. Is there a different way to use PGR in thread? or maybe I’m missing something about thread programming?