Update of /cvsroot/decaldev/source/Inject In directory sc8-pr-cvs1:/tmp/cvs-serv7944/Inject Modified Files: Inject.def Inject.vcproj Manager.cpp Panel.cpp RootLayer.h StdAfx.cpp StdAfx.h Log Message: Lots of warning cleanup, and add ReleaseMinDependency configuration to all projects that don't have it (or equivalent). Remove dependence on C Runtime completely. Index: Inject.def =================================================================== RCS file: /cvsroot/decaldev/source/Inject/Inject.def,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Inject.def 13 May 2003 07:16:12 -0000 1.3 --- Inject.def 23 May 2003 02:20:48 -0000 1.4 *************** *** 8,16 **** EXPORTS ! DllCanUnloadNow @1 PRIVATE ! DllGetClassObject @2 PRIVATE ! DllRegisterServer @3 PRIVATE ! DllUnregisterServer @4 PRIVATE ! ; hookCBTProc @5 Container_Initialize @6 Container_StartPlugins @7 --- 8,15 ---- EXPORTS ! DllCanUnloadNow PRIVATE ! DllGetClassObject PRIVATE ! DllRegisterServer PRIVATE ! DllUnregisterServer PRIVATE Container_Initialize @6 Container_StartPlugins @7 Index: Inject.vcproj =================================================================== RCS file: /cvsroot/decaldev/source/Inject/Inject.vcproj,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Inject.vcproj 13 May 2003 07:16:12 -0000 1.1 --- Inject.vcproj 23 May 2003 02:20:48 -0000 1.2 *************** *** 99,103 **** PreprocessorDefinitions="INJECT_IMPL;WIN32;NDEBUG;_WINDOWS;_USRDLL" StringPooling="TRUE" ! RuntimeLibrary="2" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="3" --- 99,103 ---- PreprocessorDefinitions="INJECT_IMPL;WIN32;NDEBUG;_WINDOWS;_USRDLL" StringPooling="TRUE" ! RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="3" Index: Manager.cpp =================================================================== RCS file: /cvsroot/decaldev/source/Inject/Manager.cpp,v retrieving revision 1.69 retrieving revision 1.70 diff -C2 -d -r1.69 -r1.70 *** Manager.cpp 18 Mar 2003 17:38:54 -0000 1.69 --- Manager.cpp 23 May 2003 02:20:48 -0000 1.70 *************** *** 161,165 **** key.Create( HKEY_LOCAL_MACHINE, _T( "SOFTWARE\\Decal" ) ); ! if(key.QueryValue(reinterpret_cast<unsigned long &>(m_eAlphaBlendMode), "AlphaBlendMode")!=ERROR_SUCCESS) m_eAlphaBlendMode = eAlphaBlendSoftware; } --- 161,165 ---- key.Create( HKEY_LOCAL_MACHINE, _T( "SOFTWARE\\Decal" ) ); ! if(key.QueryDWORDValue(_T("AlphaBlendMode"), reinterpret_cast<unsigned long &>(m_eAlphaBlendMode))!=ERROR_SUCCESS) m_eAlphaBlendMode = eAlphaBlendSoftware; } Index: Panel.cpp =================================================================== RCS file: /cvsroot/decaldev/source/Inject/Panel.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Panel.cpp 17 Mar 2003 09:23:23 -0000 1.11 --- Panel.cpp 23 May 2003 02:20:48 -0000 1.12 *************** *** 113,117 **** key.Create( HKEY_LOCAL_MACHINE, _T( "SOFTWARE\\Decal" ) ); ! if(key.QueryValue(m_Alpha, "ViewAlpha") != ERROR_SUCCESS) m_Alpha = 255; } --- 113,117 ---- key.Create( HKEY_LOCAL_MACHINE, _T( "SOFTWARE\\Decal" ) ); ! if(key.QueryDWORDValue("ViewAlpha", m_Alpha) != ERROR_SUCCESS) m_Alpha = 255; } Index: RootLayer.h =================================================================== RCS file: /cvsroot/decaldev/source/Inject/RootLayer.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** RootLayer.h 16 Apr 2002 19:56:10 -0000 1.4 --- RootLayer.h 23 May 2003 02:20:48 -0000 1.5 *************** *** 28,32 **** CRegKey key; key.Create( HKEY_LOCAL_MACHINE, _T( "SOFTWARE\\Decal" ) ); ! if( key.QueryValue( m_nViewMode, "ViewMode") != ERROR_SUCCESS) m_nViewMode = 0; } --- 28,32 ---- CRegKey key; key.Create( HKEY_LOCAL_MACHINE, _T( "SOFTWARE\\Decal" ) ); ! if( key.QueryDWORDValue( _T("ViewMode"), m_nViewMode ) != ERROR_SUCCESS) m_nViewMode = 0; } Index: StdAfx.cpp =================================================================== RCS file: /cvsroot/decaldev/source/Inject/StdAfx.cpp,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** StdAfx.cpp 18 Aug 2001 19:34:58 -0000 1.1.1.1 --- StdAfx.cpp 23 May 2003 02:20:48 -0000 1.2 *************** *** 4,12 **** #include "stdafx.h" - - #ifdef _ATL_STATIC_REGISTRY - #include <statreg.h> - #include <statreg.cpp> - #endif - - #include <atlimpl.cpp> --- 4,5 ---- Index: StdAfx.h =================================================================== RCS file: /cvsroot/decaldev/source/Inject/StdAfx.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** StdAfx.h 17 Mar 2003 09:23:24 -0000 1.9 --- StdAfx.h 23 May 2003 02:20:48 -0000 1.10 *************** *** 11,17 **** #define STRICT ! #ifndef _WIN32_WINNT ! #define _WIN32_WINNT 0x0500 ! #endif #define _ATL_APARTMENT_THREADED --- 11,16 ---- #define STRICT ! #define _WIN32_WINDOWS 0x0410 ! #define _WIN32_DCOM #define _ATL_APARTMENT_THREADED |