managed and unmanaged logging Options

S

shaan

i want to implement a logging system , that can be used by
managed(c#)
and unmanaged code(c++).

Approach 1:


implement logging infrastructure in unmanaged code (c++) and provide
wrapper to this infrastructur in c# code ,


but problem with above approach is that it will involve P/invoke.


is there any way that i open same file from managed and unmanaged
code
and do logging . Same time i should be sure that order of logging is
preserved .


any pointer to this would appreaciated


Shaan
 
K

Kevin Spencer

You could implement a Winodws Service that does this. Otherwise, you'll be
using Interop either way.

--
HTH,

Kevin Spencer
Microsoft MVP

DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top