> -----Original Message----- > From: interest-bounces+kai.koehne=nokia....@qt-project.org > [mailto:interest-bounces+kai.koehne=nokia....@qt-project.org] On Behalf > Of ext Sergey > Sent: Thursday, April 26, 2012 8:25 AM > To: interest@qt-project.org > Subject: [Interest] qInstallMsgHandler in QAxServer > > Hello, > > Is it possible to call qInstallMsgHandler in my qaxserver in-process server > before creating exported controls? > So that message handler would write to log file all information from the > moment of loading activex dll into memory?
Hi, I know little to nothing about activex dlls / qaxserver. Anyhow you might want to try to call qInstallMsgHandler in the constructor of a static variable: struct InstallMessageHandlerStruct { InstallMessageHandlerStruct () { qInstallMsgHandler(myHandler); } } static InstallMessageHandlerStruct sInstallMessageHandler; This should be executed whenever the resp module /plugin is loaded. Regards Kai _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest