Hi
I am converting a image to a particular format which I then bitblt onto a window containing a canvas.
This window implements its own wndProc procedure to handle user resizing etc. I will be loading the image
up to 9 frames per second drom a camera eventually and so want to use threads.
From what I understand of reading up on threads, acessing win32 controls and so I assume labwindow controls,
from multiple theads will result in deadlocks.
So what I want todo is to convert the image to my required format in a worker thread, once this is done I want
to signal the main thread (GUI Thread) to bitblt the image to the canvas and update the ui.
Other toolkits I have used allow sending cross thread signals similar to Invoke in .Net. Thus preventing the need
for locking lots of GUI elements from the two threads. I would rather not use locks to achieve this if possible.
Does anyone know of a solution to this in lab windows ?
Thank you.
Glenn