Thanks Pritpal Bedi , >If oDlg:destroy() is called just before RETURN statement, it does not GPF.
It solve the exit GPF... >1. You are linking with -shared flag, so you need harbourmt21.dll alongside exe >2. If tst.exe is built with tgui.dll then it GPF's Yes GPF still there even copy the harbourmt-21.dll into the tst.exe dir ... Hope other can help ..... Shum -- View this message in context: http://n2.nabble.com/What-wrong-with-this-example-Harbour-Qt-hbxbp-tp4880826p4883172.html Sent from the harbour-devel mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour