View Full Version : Single thread callback?

January 23, 2007, 16:45:27
I have a preexisting application that show still and live video.
The input is FreeImage bitmaps.

I have used code similiar to that posted in the thread

However I want to show live video and I can't call the my functions that effect my UI like LoadImage from frameReady as that is another thread and UI control are not meant to be accessed from different threads.
Is there a way to get the frameReady callback to not operate in a separate thread ?


Stefan Geissler
January 23, 2007, 17:00:50

You may communicate with your main thread through the Windows PostMessage() functions.