Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » assert in multithreaded app Collapse All
Subject Author Date
T. Geghamyan Jan 28, 2003 - 10:57 PM

Hi,
I wrote multithreaded application with separate CFrameWnd-s with extended menus within user-interface threads, and my main application window is dialog box with CExtMenuControlBar like in your ProfUIS_Controls example. When i click on the menu in user interface thread assertion occurs. I suppose asserton is related thay my other CExtMenuControlBar objects not created in bounds of that thread, but it is not must be so.
Look ahead to your help.
with best regards
Tigran Geghamyan

Sergiy Lavrynenko Feb 3, 2003 - 10:05 AM

Dear Tigran,

Unfortunately, menu bars are not friendly to multithreaded applications at the moment. I am going to add thread-safe bars later. Please believe me that implementing your UI in one thread (like most programs do) is a good idea and much easier to code.

Best regards,
Sergiy.