Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-05-2005, 21:55
nuemga2000 nuemga2000 is offline
Friend
 
Join Date: Jan 2002
Posts: 59
Rept. Given: 1
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 0
Thanks Rcvd at 5 Times in 5 Posts
nuemga2000 Reputation: 2
Hi,
maybe you can take a look at hxxp://www.codeproject.com/debug/dbg.asp ...
... even if this one doesn't fit your needs, you can take some ideas from there

Kerstin
Reply With Quote
  #2  
Old 01-06-2005, 13:26
WhoCares's Avatar
WhoCares WhoCares is offline
who cares
 
Join Date: Jan 2002
Location: Here
Posts: 468
Rept. Given: 11
Rept. Rcvd 32 Times in 25 Posts
Thanks Given: 69
Thanks Rcvd at 247 Times in 94 Posts
WhoCares Reputation: 32
Thanks for the info.
I read the CDebugPrintf source, it doesn't embed __FILE__/__LINE__ into log lines. My conclusion is that only Macros with a variable number of arguments can do the job. That is, only C99-compatible c++ compilers. Actually I have implemented such a logger with GCC(what a splendid compiler!)

I have tested Intel c++ compiler v8.1, it's a pity that its "/Qc99" option only works with pure C programs, neither c++ programs nor c/c++ mixed programs.
http://softwareforums.intel.com/ids/board/message?board.id=16&message.id=1643#M1643

I will try to see whether GCC for Windows can compile my MFC program.
__________________
AKA Solomon/blowfish.

Last edited by WhoCares; 01-06-2005 at 13:29.
Reply With Quote
  #3  
Old 01-06-2005, 15:59
new_profile new_profile is offline
VIP
 
Join Date: Aug 2002
Posts: 153
Rept. Given: 27
Rept. Rcvd 7 Times in 7 Posts
Thanks Given: 56
Thanks Rcvd at 52 Times in 23 Posts
new_profile Reputation: 7
Hi,
May this is helpful (or useless) : xxxx://logging.apache.org/log4cxx/
If you are familiar with Log4j you won't be disappointed.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[C++] Simple Anti-Debug trick Mahmoudnia Source Code 1 07-17-2022 20:13


All times are GMT +8. The time now is 19:20.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )