Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2007

Tip: Looking for answers? Try searching our database.

managed and unmanaged logging Options

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shaan - 14 Aug 2007 09:29 GMT
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
Kevin Spencer - 14 Aug 2007 12:53 GMT
You could implement a Winodws Service that does this. Otherwise, you'll be
using Interop either way.

Signature

HTH,

Kevin Spencer
Microsoft MVP

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

>i want to implement a logging system , that can be used by
> managed(c#)
[quoted text clipped - 15 lines]
>
> Shaan

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.