Bitmap::RefreshWindow() hangs on second thread

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  04 April 2012
Bitmap::RefreshWindow() hangs on second thread


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?
  04 April 2012
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 04:10 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.