Disable debug outputs in DllMain

Use this forum to request new features or suggest modifications to existing features

Disable debug outputs in DllMain

Postby mdw » Thu Jun 23, 2016 7:34 am

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.
mdw
 
Posts: 34
Joined: Mon Feb 15, 2016 2:45 pm

Re: Disable debug outputs in DllMain

Postby qxorm » Mon Jun 27, 2016 6:52 pm

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...
qxorm
Site Admin
 
Posts: 476
Joined: Mon Apr 12, 2010 7:45 am

Re: Disable debug outputs in DllMain

Postby mdw » Fri Apr 28, 2017 12:56 pm

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

Has this been done in the meantime?
mdw
 
Posts: 34
Joined: Mon Feb 15, 2016 2:45 pm

Re: Disable debug outputs in DllMain

Postby qxorm » Fri Apr 28, 2017 2:57 pm

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.
qxorm
Site Admin
 
Posts: 476
Joined: Mon Apr 12, 2010 7:45 am

Re: Disable debug outputs in DllMain

Postby mdw » Wed May 03, 2017 1:30 pm

Fine. Would it be possible to include it also in QxOrm.pri?
mdw
 
Posts: 34
Joined: Mon Feb 15, 2016 2:45 pm

Re: Disable debug outputs in DllMain

Postby qxorm » Tue May 09, 2017 8:09 am

Of course you can add it to QxOrm.pri if you want.
I will add some comment in the pri file.
qxorm
Site Admin
 
Posts: 476
Joined: Mon Apr 12, 2010 7:45 am


Return to QxOrm - Feature request

Who is online

Users browsing this forum: No registered users and 1 guest

cron