Home » Developing U++ » U++ Developers corner » Another problem with MT (damn it... :()
Re: Another problem with MT (damn it... :() [message #40259 is a reply to message #40219] |
Sat, 13 July 2013 17:05  |
piotr5
Messages: 107 Registered: November 2005
|
Experienced Member |
|
|
mirek wrote on Fri, 05 July 2013 20:05 | Anyway, what really happens is that Ctrl::PopUp in non-main thread has to use Call to get into main thread, but as main thread is invoked, it opens the window on its own (in certain situations anyway), which leads to the crash...
|
shouldn't the solution rather be to avoid such automatic window-opening by the programmer's request only? if I have a crash, I disable the code that caused the crash!
IMHO m$windows is right with restricting windows-creation to main thread, better code-design when gui is forced to be seperate from "main" program.
[Updated on: Sat, 13 July 2013 17:06] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Jul 05 17:43:09 CEST 2025
Total time taken to generate the page: 0.03796 seconds
|