I am currently porting a photon application that was developed under QNX4.25 to QNX 6.3.2. It did not have any problems under QNX 4.25. Now that we have ported the code and began testing, ApCreateModule seems to randomly fail. There is a timer event runnin every 200 ms that sets the resource of some buttons, if this event is disabled, then ApCreateModule seems not to fail. I’ve tried to eliminate every thing that the timer event is doing, but it does not make a difference. I have even checked all the variables being fed to ApCreateModule when it fails. I have also searched everywhere, but it seems that no one has posted any information about what could cause ApCreateModule to fail.
I also checked the setup function that gets called as a result of ApCreateModule, it does not get executed.
Does anyone have any ideas about what else besides Null pointers and the setup function could cause ApCreateModule to fail?
BTW: I am using it to display a picture module inside of a pane.