Hi Pritpal, >> Okay, I got that part. All I'm saying is that it's still >> a sign of .prg code (whatever .prg code) is still causing >> GPF for some reason: >> > > It is a case of which init procedure is executed first. > If you have PRG level INIT which calls QApplication():new(), > it will simply return s_app as hb_retptr( s_app ) which > may/may not be a valid one depending upon if PRG level > init procedure is executed first or .cpp level one.
So, is it possible for HBQT to throw proper RTE, in case NULL is returned here? I think it's much better than a GPF. Brgds, Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour