Page 2 of 2

Re: Inheritance from NoesisApp::Window crashes in version 3.0

Posted: 08 Jun 2020, 13:35
by jsantos
Could you please elaborate? I am not sure to be following, thanks!

Re: Inheritance from NoesisApp::Window crashes in version 3.0

Posted: 08 Jun 2020, 17:42
by Logrus
If NoesisApp.dll is compiled with the NS_PROFILE preprocessor definitions, and Engine without this macro, then any call to the Window methods will crash

In Integration projects:
DialogWindow is working fine.
DialogWindowFailed crashes when you click on a TextBox, because font not found

Re: Inheritance from NoesisApp::Window crashes in version 3.0

Posted: 08 Jun 2020, 21:23
by jsantos
If NoesisApp.dll is compiled with the NS_PROFILE preprocessor definitions, and Engine without this macro, then any call to the Window methods will crash
We do not recommend using NoesisApp.dll in your project. The recommended way is picking the .cpp files you need and compile them as part of your engine. But you detected an important detail we should mention in the documentation. Thanks!
In Integration projects:
DialogWindow is working fine.
DialogWindowFailed crashes when you click on a TextBox, because font not found
I didn't have time to see your provided sample. But honestly, I would prefer if you could report problems directly in our samples, without extra modifications. We don't have time to analyze and track all changes performed in each client project.

Re: Inheritance from NoesisApp::Window crashes in version 3.0

Posted: 09 Jun 2020, 07:05
by Logrus
Integration.rar is a modified Integration example from samples

Re: Inheritance from NoesisApp::Window crashes in version 3.0

Posted: 09 Jun 2020, 16:26
by sfernandez
DialogWindowFailed crashes when you click on a TextBox, because font not found
The crash with a null FontFamily is fixed for the next release: #1715

Re: Inheritance from NoesisApp::Window crashes in version 3.0

Posted: 11 Jun 2020, 13:22
by jsantos
If NoesisApp.dll is compiled with the NS_PROFILE preprocessor definitions, and Engine without this macro, then any call to the Window methods will crash
#1723

We fixed it, 3.0.2 is planned to be released today

Re: Inheritance from NoesisApp::Window crashes in version 3.0

Posted: 11 Jun 2020, 23:51
by jsantos
Fixed in 3.0.2