Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Crash within ApCreateModule
Ref. No. QNX.000009758
Category(ies) Development
Issue I do not use a setup function to initialize modules. Instead I access the widgets after ApCreateModule. Would it be safe to assume that all the widgets are created after ApCreateModule() has returned? I have experienced the case that they were not.
What can cause this?
Solution ApCreateModule() creates all the widgets in the module, unless one runs out of memory. The other exception is a dialog module that's already open - ApCreateModule() just brings it to the front. If you have destroyed some widgets in the dialog, ApCreateModule() will not create new ones for you.