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 » U++ Library support » U++ Library : Other (not classified elsewhere) » Problem with dialogs
Problem with dialogs [message #47032] Mon, 14 November 2016 11:41 Go to previous message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Lately (from weeks or few months) I am having problems with dialogs. Without any apparent reason and not always, they crash the program when closing them.

For example this function called from a THISBACK after clicking a button, may crash in the destructor:

void ScatterCtrl::DoProcessing() 
{
	ProcessingDlg(*this).Run(true);
}

It is also happening many times with FileSel.

It seems it happens when the dialog constructor is inside a function, like here:
void Function_called_by_a_THISBACK() {
	FileSel fs;
	// Do something
	// FileSel crashes in its destructor when going out of the function
}

Am I doing anything wrong?


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Append line into LineEdit or DocEdit
Next Topic: RegEx Help
Goto Forum:
  


Current Time: Fri Mar 29 14:27:06 CET 2024

Total time taken to generate the page: 0.01838 seconds