Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
piotr5 is currently offline  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...Sad

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. Smile

[Updated on: Sat, 13 July 2013 17:06]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: Skylark reaching "beta" status, first 6 chapters of tutorial available..
Next Topic: Skylark timer jobs...
Goto Forum:
  


Current Time: Sat Jul 05 17:43:09 CEST 2025

Total time taken to generate the page: 0.03796 seconds