View Full Version : Bitmap::RefreshWindow() hangs on second thread

04 April 2012, 04:27 PM

Bitmap::RefreshWindow() always makes my plugin hang if I am using two or more threads. I am using mutexes and Bitmap::RefreshWindow() never runs at the same time. But it hangs as soon as RefreshWindow() is started on not main thread.

I found a similar thread it doesn't contain a help.

I tried to debug this hand and I received following Call Stack data:
> user32.dll!NtUserMessageCall() + 0xa bytes
user32.dll!SendMessageWorker() - 0x3118 bytes
user32.dll!SendMessageA() + 0x60 bytes
bmm.dll!VFB::RefreshWindow() + 0x1b8 bytes
bmm.dll!Bitmap::RefreshWindow() + 0x12 bytes
max_render.dll!ImageData(void * i_image=0x000000004e399220) Line 412 C++
But I still don't know how to fix that.

Does anyone know how to use this damn method Bitmap::RefreshWindow() on several threads?

CGTalk Moderation
04 April 2012, 04:27 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.