Page 1 of 1

Disable debug outputs in DllMain

PostPosted: Thu Jun 23, 2016 7:34 am
by mdw
Is there any possibility to disable the
Code: Select all
DLL_THREAD_ATTACH
/
Code: Select all
DLL_THREAD_DETACH
messages in main.cpp DllMain(). These outputs, which exist only on Windows, unnecessarily blow up the debug outputs for multi-threaded applications.

So it would be nice to have some configuration flag or a run-time method addressing this.

Re: Disable debug outputs in DllMain

PostPosted: Mon Jun 27, 2016 6:52 pm
by qxorm
So it would be nice to have some configuration flag or a run-time method addressing this.

Ok I will add something to disable this traces in the next release...

Re: Disable debug outputs in DllMain

PostPosted: Fri Apr 28, 2017 12:56 pm
by mdw
qxorm wrote:Ok I will add something to disable this traces in the next release...

Has this been done in the meantime?

Re: Disable debug outputs in DllMain

PostPosted: Fri Apr 28, 2017 2:57 pm
by qxorm
Yes, please download current BETA version :
- QxOrm : https://www.qxorm.com/version/QxOrm_1.4.4_BETA_21.zip
- QxEntityEditor (win) : https://www.qxorm.com/version/QxEntityE ... in_32b.zip
- QxEntityEditor (linux) : https://www.qxorm.com/version/QxEntityE ... 64b.tar.gz
And define the _QX_NO_TRACE_DLL_ATTACH_DETACH compilation option.

Re: Disable debug outputs in DllMain

PostPosted: Wed May 03, 2017 1:30 pm
by mdw
Fine. Would it be possible to include it also in QxOrm.pri?

Re: Disable debug outputs in DllMain

PostPosted: Tue May 09, 2017 8:09 am
by qxorm
Of course you can add it to QxOrm.pri if you want.
I will add some comment in the pri file.