Project Description

Application Management makes your application life easier.
It will automatic do memory management, handle and log unhandled exceptions, profiling your functions, make your application single instance and also provide util functions to get system information.

Screenshots

The Following image represents an application to test library features.

appmanagement1.png


Next image show difference between MemoryManagement Off and On

appmanagement_memorymanagement.png


Next image represents an unhandled exception

appmanagement_exceptiondialog.png

// Generated log for the exception (MyTestApp201002151835_29)
[MyTestApp]
Date=15-02-2010 18:35:29
Application=MyTestApp 1.0.0.0
ExecutablePath=D:\caza\c++\ApplicationManagement\MyTestApp\
                        bin\Release\MyTestApp.exe
Company=MyTestApp

This file represets an error cath on our program

########################
##        Error       ##
########################
[Exception1]
Message=O valor não pode ser nulo.
StackTrace=   em MyTestApp.MainFrm.ButtonClick(Object sender, EventArgs e) 
   em D:\caza\c++\ApplicationManagement\MyTestApp\MainFrm.cs:line 115
   em System.Windows.Forms.Control.OnClick(EventArgs e)
   em System.Windows.Forms.Button.OnClick(EventArgs e)
   em System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   em System.Windows.Forms.Control.WmMouseUp(
                   Message& m, MouseButtons button, Int32 clicks)
   em System.Windows.Forms.Control.WndProc(Message& m)
   em System.Windows.Forms.ButtonBase.WndProc(Message& m)
   em System.Windows.Forms.Button.WndProc(Message& m)
   em System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   em System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   em System.Windows.Forms.NativeWindow.Callback(
                   IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
TargetSite=Void ButtonClick(System.Object, System.EventArgs)
Source=MyTestApp
HelpLink=



########################
## System Information ##
########################
[System]
OperativeSystem=Windows 7 x86
ProcessorCount=2


########################
##     Open Forms     ##
########################
[Forms]
Form1=MyTestApp.MainFrm, Text: ApplicationManagement Library Test


########################
## Loaded Assemblies  ##
########################
[mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]
   Location=C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll

[MyTestApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]
   Location=D:\caza\c++\ApplicationManagement\
                 MyTestApp\bin\Release\MyTestApp.exe

[ApplicationManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]
   Location=D:\caza\c++\ApplicationManagement\MyTestApp\
                 bin\Release\ApplicationManagement.dll

[System.Windows.Forms, Version=2.0.0.0, Culture=neutral,
                                    PublicKeyToken=b77a5c561934e089]
   Location=C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\
                  2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll

[System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]
   Location=C:\Windows\assembly\GAC_MSIL\System\
                 2.0.0.0__b77a5c561934e089\System.dll

[System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]
   Location=C:\Windows\assembly\GAC_MSIL\System.Drawing\
                  2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll

[System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]
   Location=C:\Windows\assembly\GAC_32\System.Data\
                  2.0.0.0__b77a5c561934e089\System.Data.dll

[mscorlib.resources, Version=2.0.0.0, Culture=pt, PublicKeyToken=b77a5c561934e089]
   Location=C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll

Please fell free to send us that errors files via email: myapp@company.com


It also can create a dump (.dmp) file, that can be debugged with an program like Visual Studio.
Minidump Files (Windows)

Note

See the documentation to know more about the library.

Did your project use that library?

Please let me know if you are using my library in any of your projects.
You can post your application name and link on discussions.
This is also an incentive to me, know people that are using my libraries.

Donations

Writing libraries takes time and all my job is free.
Donations is a incentive to me, and encourage me to make more a better libraries
Please if you can, consider and make an donation: PayPal Donation

Donate

You also can donate using the SourceForge donations system:

Donate

Others Homepages

Visit ApplicationManagement on CodeProject
Visit ApplicationManagement on SourceForge

Last edited Feb 18, 2010 at 4:58 PM by sn4k3, version 17