mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CryptoAlgo-Dev
75c48ba87f
|
4 years ago | |
---|---|---|
.. | ||
cfactory.h | 4 years ago | |
cfactorysrc.cpp | 4 years ago | |
citracker.h | 4 years ago | |
citrackersrc.cpp | 4 years ago | |
common.h | 4 years ago | |
debug.h | 4 years ago | |
debugsrc.cpp | 4 years ago | |
dll.h | 4 years ago | |
dllsrc.cpp | 4 years ago | |
interfacetablesrc.cpp | 4 years ago | |
loadstring.h | 4 years ago | |
log.h | 4 years ago | |
logsrc.cpp | 4 years ago | |
pragmas.h | 4 years ago | |
proplist.h | 4 years ago | |
proplistsrc.cpp | 4 years ago | |
readme.txt | 4 years ago | |
register.h | 4 years ago | |
registersrc.cpp | 4 years ago | |
smartclasses.h | 4 years ago | |
swtracing.h | 4 years ago | |
swtracingsrc.cpp | 4 years ago |
readme.txt
//////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 1999-2000 Microsoft Corporation
//
// Module Name:
// README.TXT
//
// Maintained By:
// Geoffrey Pease (GPEASE) 22-NOV-1999
//
//////////////////////////////////////////////////////////////////////////////
THE QUICK AND DIRTY HOW TO INCLUDE THE DEBUG LIBRARY:
1. Create a DEBUG.CPP and CITRACKER.CPP in your project.
2. In DEBUG.CPP include DebugSrc.CPP from this directory.
In CITRACKER.CPP include CITrackerSrc.CPP from this directory.
Example of DEBUG.CPP:
#include "pch.h" // your pre-compiled header for your project.
#include "DebugSrc.cpp" // pull in the common version.
3. Your code must contain an instance of the following global variables:
HINSTANCE g_hInstance; // module instance
LONG g_cObjects; // COM object instance counter
4. Call TraceInitializeProcess( ... ) when you are started. For DLLs, call
this in your DllMain( ). For applications, call this in your Win/main( ).
5. Call TraceTerminateProcess( ... ) before you terminate. For DLLs, call this
in your DllMain( ) for DLL_PROCESS_DETACH. For applications, call this just
before your Win/main( ) returns.