CGTalk > Software > Autodesk 3ds max > 3dsMax SDK and MaxScript
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
Thread Tools Search this Thread Display Modes
Old 04-03-2012, 04:27 PM   #1
New Member
Kiev, Ukraine
Join Date: Dec 2011
Posts: 10
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?
Old 04-03-2012, 04:27 PM   #2
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
Join Date: Sep 2003
Posts: 1,066,479
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 01:09 PM.

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