I built a COM wrapper using the code in the message below as a model:
http://marc.info/?l=log4net-user&m=111281577717078&w=2

This is working fine for me from Borland C++ (and VB6 for that matter).  As 
long as you know how to
reference COM objects from your flavor of C++, I think it should work for you 
as well.

Regards,

Dan




                                                                       
             <[email protected]>                                       
                                                                       
             02/20/2009 02:24 PM                                                
                      To
                                                   
<[email protected]>
                                                                                
                      cc
                   Please respond to                                   
                    "Log4NET User"                                              
                 Subject
             <[email protected].         Re: Working with C++
                         org>                                          
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       




Thanks,
But I am already using log4net in my solution in the C# projects. What exactly 
do I have to do to
integrate the C++ logger?
Can you or somebody else elaborate please(the documentation is quite difficult 
for me)?
Regards
I. lesher
 ----- Original Message -----
 From: Radovan Raszka
 To: Log4NET User ; [email protected]
 Sent: Thursday, February 19, 2009 8:31 AM
 Subject: RE: Working with C++

 Look at http://logging.apache.org/log4cxx/index.html

 Radovan Raszka

 Od: [email protected] [mailto:[email protected]]
 Odesláno: 19. února 2009 6:19
 Komu: [email protected]
 Předmět: Working with C++

 I have a mixed project with C# and C++. I use happily the logger in C# but 
don't know how to use it from
 C++.
 Is there any sample for that?
 Regards
 I. Lesher

Reply via email to