User avatar
jsantos
Site Admin
Posts: 2909
Joined: 20 Jan 2012, 17:18
Contact:

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

08 Jun 2020, 13:35

Could you please elaborate? I am not sure to be following, thanks!

Tags:
 
Logrus
Topic Author
Posts: 9
Joined: 22 Jul 2015, 12:16

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

08 Jun 2020, 17:42

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
Attachments
Integration.rar
(102.41 KiB) Downloaded 17 times
 
User avatar
jsantos
Site Admin
Posts: 2909
Joined: 20 Jan 2012, 17:18
Contact:

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

08 Jun 2020, 21:23

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.
 
Logrus
Topic Author
Posts: 9
Joined: 22 Jul 2015, 12:16

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

09 Jun 2020, 07:05

Integration.rar is a modified Integration example from samples
 
User avatar
sfernandez
Site Admin
Posts: 1920
Joined: 22 Dec 2011, 19:20

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

09 Jun 2020, 16:26

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
 
User avatar
jsantos
Site Admin
Posts: 2909
Joined: 20 Jan 2012, 17:18
Contact:

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

11 Jun 2020, 13:22

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
 
User avatar
jsantos
Site Admin
Posts: 2909
Joined: 20 Jan 2012, 17:18
Contact:

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

11 Jun 2020, 23:51

Fixed in 3.0.2

Who is online

Users browsing this forum: Google [Bot], slight and 2 guests