Click here to Skip to main content
15,886,799 members
Articles / Web Development / HTML

TraceTool 12.7: The Swiss-Army Knife of Trace

Rate me:
Please Sign up or sign in to vote.
4.97/5 (234 votes)
20 Nov 2016CPL19 min read 1.9M   39K   1K  
A C#, C++, Delphi, ActiveX , Javascript , NodeJs and Java trace framework and a trace viewer: Tail, OutputDebugString, event log, and with Log4J, Log4Net, and Microsoft Enterprise Instrumentation Framework (EIF) support. This also comes with full support for Pocket PC, Silverlight, and Android.
// WinCeDemo.cpp : Defines the class behaviors for the application.
//

#include "stdafx.h"
#include "WinCeDemo.h"

#include "Sheet.h"
//#include "WinCeDemoDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CWinCeDemoApp

BEGIN_MESSAGE_MAP(CWinCeDemoApp, CWinApp)
//{{AFX_MSG_MAP(CWinCeDemoApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CWinCeDemoApp construction

CWinCeDemoApp::CWinCeDemoApp()
: CWinApp()
{
   // TODO: add construction code here,
   // Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CWinCeDemoApp object

CWinCeDemoApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CWinCeDemoApp initialization

static HWND	hwndCB=NULL;			// The command bar handle

BOOL CWinCeDemoApp::InitInstance()
{
   if (!AfxSocketInit())
   {
      AfxMessageBox(IDP_SOCKETS_INIT_FAILED);
      return FALSE;
   }
    

   Sheet sheet (_T("TraceTool demo")); 
   m_pMainWnd = &sheet;
   int nResponse = sheet.DoModal ();
   
   
   // Since the dialog has been closed, return FALSE so that we exit the
   //  application, rather than start the application's message pump.
   return FALSE;
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Common Public License Version 1.0 (CPL)


Written By
Architect
Belgium Belgium
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions