Hi,
Getting error message on closing my application.(see attachment)
Message dialogs are not appearing some times in my application, Is it related to this issue?.
Stuck without any ideas to proceed. kindly help.
Can't create dialog using memory template - means what?
Can't create dialog using memory template - means what?
- Attachments
-
- Error.jpg (67.88 KiB) Viewed 2040 times
Last edited by rajan_m on Fri Jul 10, 2015 3:22 pm, edited 1 time in total.
Every exit is an entry somewhere else!
- tierra
- Site Admin
- Posts: 1355
- Joined: Sun Aug 29, 2004 7:14 pm
- Location: Salt Lake City, Utah, USA
- Contact:
Re: Can't create dialog using memory template - means what?
Have you tried running it through the debugger?
Re: Can't create dialog using memory template - means what?
Grep the source (wxWidgets) and found if ''CreateDialogIndirect()'' call fails, then error message is logged.
The error message popup on closing the application and not shown at the time of issue.
Any Reason why it might happen?.
The error message popup on closing the application and not shown at the time of issue.
Any Reason why it might happen?.
Every exit is an entry somewhere else!
Re: Can't create dialog using memory template - means what?
This is definitely a strange error, there must be something fundamentally wrong. Is this a C++ application? I'm asking because when i search for these error message, i see many Python related posts.
As a wild guess, i think you may use some wxWidgets classes before wxWidgets itself is initialized.
Is there anything special regarding the "anatomy" of your application? I.e. how does your wxApp::OnInit() look like? Can you provide a minimal, compilable sample that shows the problem?
Also, which wxWidgets version are you using?
As a wild guess, i think you may use some wxWidgets classes before wxWidgets itself is initialized.
Is there anything special regarding the "anatomy" of your application? I.e. how does your wxApp::OnInit() look like? Can you provide a minimal, compilable sample that shows the problem?
Also, which wxWidgets version are you using?
Use the source, Luke!