DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 14 Aug 2007 01:29:45 -0700,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    shaan
          2    Kevin Spencer


managed and unmanaged logging Options   
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
Date:Tue, 14 Aug 2007 01:29:45 -0700   Author:  

Re: managed and unmanaged logging Options   
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

"shaan"  wrote in message 
news:1187080185.127628.137540@m37g2000prh.googlegroups.com...

>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
> 
Date:Tue, 14 Aug 2007 07:53:48 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us