openDecal/Native/Inject/Inject.dsp
erik d1442e3747 Initial commit: Complete open-source Decal rebuild
All 5 phases of the open-source Decal rebuild:

Phase 1: 14 decompiled .NET projects (Interop.*, Adapter, FileService, DecalUtil)
Phase 2: 10 native DLLs rewritten as C# COM servers with matching GUIDs
  - DecalDat, DHS, SpellFilter, DecalInput, DecalNet, DecalFilters
  - Decal.Core, DecalControls, DecalRender, D3DService
Phase 3: C++ shims for Inject.DLL (D3D9 hooking) and LauncherHook.DLL
Phase 4: DenAgent WinForms tray application
Phase 5: WiX installer and build script

25 C# projects building with 0 errors.
Native C++ projects require VS 2022 + Windows SDK (x86).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 18:27:56 +01:00

401 lines
9 KiB
Text

# Microsoft Developer Studio Project File - Name="Inject" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
CFG=Inject - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "Inject.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "Inject.mak" CFG="Inject - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "Inject - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "Inject - Win32 Release MinDependency" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "Inject - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 1
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /Yu"stdafx.h" /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /Gi /GX /ZI /Od /I "..\Include" /D "_DEBUG" /D "_MBCS" /D "WIN32" /D "_WINDOWS" /D "_USRDLL" /D "INJECT_IMPL" /Yu"stdafx.h" /FD /GZ /c
# SUBTRACT CPP /u
# ADD MTL /nologo /I "..\Include" /Oicf
# ADD BASE RSC /l 0x1009 /d "_DEBUG"
# ADD RSC /l 0x1009 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ddraw.lib winmm.lib ws2_32.lib version.lib /nologo /subsystem:windows /dll /debug /machine:I386
# Begin Custom Build - Performing registration
OutDir=.\..\Debug
TargetPath=\Code\source\Debug\Inject.dll
InputPath=\Code\source\Debug\Inject.dll
SOURCE="$(InputPath)"
"$(OutDir)\regsvr32.trg" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
regsvr32 /s /c "$(TargetPath)"
echo regsvr32 exec. time > "$(OutDir)\regsvr32.trg"
# End Custom Build
!ELSEIF "$(CFG)" == "Inject - Win32 Release MinDependency"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "ReleaseMinDependency"
# PROP BASE Intermediate_Dir "ReleaseMinDependency"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\Release"
# PROP Intermediate_Dir "ReleaseMinDependency"
# PROP Ignore_Export_Lib 1
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "_ATL_STATIC_REGISTRY" /D "_ATL_MIN_CRT" /Yu"stdafx.h" /FD /c
# ADD CPP /nologo /MD /W3 /GX /Zi /Oa /Og /Oi /Os /Oy /Ob1 /Gf /Gy /I "..\Include" /D "INJECT_IMPL" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /Yu"stdafx.h" /FD /c
# SUBTRACT CPP /u
# ADD MTL /nologo /I "..\Include" /Oicf
# ADD BASE RSC /l 0x1009 /d "NDEBUG"
# ADD RSC /l 0x1009 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ddraw.lib winmm.lib ws2_32.lib version.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\Release"
# SUBTRACT LINK32 /nodefaultlib
# Begin Custom Build - Performing registration
OutDir=.\..\Release
TargetPath=\Code\source\Release\Inject.dll
InputPath=\Code\source\Release\Inject.dll
SOURCE="$(InputPath)"
"$(OutDir)\regsvr32.trg" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
regsvr32 /s /c "$(TargetPath)"
echo regsvr32 exec. time > "$(OutDir)\regsvr32.trg"
# End Custom Build
!ENDIF
# Begin Target
# Name "Inject - Win32 Debug"
# Name "Inject - Win32 Release MinDependency"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE=.\BarLayer.cpp
# End Source File
# Begin Source File
SOURCE=.\Button.cpp
# End Source File
# Begin Source File
SOURCE=.\Canvas.cpp
# End Source File
# Begin Source File
SOURCE=.\DatFile.cpp
# End Source File
# Begin Source File
SOURCE=.\Direct3DHook.cpp
# End Source File
# Begin Source File
SOURCE=.\DirectDrawHook.cpp
# End Source File
# Begin Source File
SOURCE=.\DirectDrawSurfaceHook.cpp
# End Source File
# Begin Source File
SOURCE=.\FontCache.cpp
# End Source File
# Begin Source File
SOURCE=.\Guids.cpp
# SUBTRACT CPP /YX /Yc /Yu
# End Source File
# Begin Source File
SOURCE=.\IconCache.cpp
# End Source File
# Begin Source File
SOURCE=.\Image.cpp
# End Source File
# Begin Source File
SOURCE=.\Inject.cpp
# End Source File
# Begin Source File
SOURCE=.\Inject.def
# End Source File
# Begin Source File
SOURCE=.\Inject.idl
# ADD MTL /tlb ".\Inject.tlb" /h "Inject.h" /iid "Inject_i.c" /Oicf
# End Source File
# Begin Source File
SOURCE=.\Inject.rc
# End Source File
# Begin Source File
SOURCE=.\InjectService.cpp
# End Source File
# Begin Source File
SOURCE=.\InputBuffer.cpp
# End Source File
# Begin Source File
SOURCE=.\LayerSite.cpp
# End Source File
# Begin Source File
SOURCE=.\Manager.cpp
# End Source File
# Begin Source File
SOURCE=.\MaterialHook.cpp
# End Source File
# Begin Source File
SOURCE=.\Pager.cpp
# End Source File
# Begin Source File
SOURCE=.\Panel.cpp
# End Source File
# Begin Source File
SOURCE=.\PluginAdapterV1.cpp
# End Source File
# Begin Source File
SOURCE=.\RootLayer.cpp
# End Source File
# Begin Source File
SOURCE=.\SimpleBar.cpp
# End Source File
# Begin Source File
SOURCE=.\SinkImpl.cpp
# End Source File
# Begin Source File
SOURCE=.\SolidImage.cpp
# End Source File
# Begin Source File
SOURCE=.\StdAfx.cpp
# ADD CPP /Yc"stdafx.h"
# End Source File
# Begin Source File
SOURCE=.\View.cpp
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
SOURCE=.\BarLayer.h
# End Source File
# Begin Source File
SOURCE=.\Button.h
# End Source File
# Begin Source File
SOURCE=.\Canvas.h
# End Source File
# Begin Source File
SOURCE=.\DatFile.h
# End Source File
# Begin Source File
SOURCE=.\Direct3DHook.h
# End Source File
# Begin Source File
SOURCE=.\DirectDrawHook.h
# End Source File
# Begin Source File
SOURCE=.\DirectDrawSurfaceHook.h
# End Source File
# Begin Source File
SOURCE=.\EventsImpl.h
# End Source File
# Begin Source File
SOURCE=.\FontCache.h
# End Source File
# Begin Source File
SOURCE=.\IconCache.h
# End Source File
# Begin Source File
SOURCE=.\Image.h
# End Source File
# Begin Source File
SOURCE=.\InjectApi.h
# End Source File
# Begin Source File
SOURCE=.\InjectCP.h
# End Source File
# Begin Source File
SOURCE=.\InjectService.h
# End Source File
# Begin Source File
SOURCE=.\InputBuffer.h
# End Source File
# Begin Source File
SOURCE=.\LayerSite.h
# End Source File
# Begin Source File
SOURCE=.\Manager.h
# End Source File
# Begin Source File
SOURCE=.\MaterialHook.h
# End Source File
# Begin Source File
SOURCE=.\Pager.h
# End Source File
# Begin Source File
SOURCE=.\Panel.h
# End Source File
# Begin Source File
SOURCE=.\Plugin2Impl.h
# End Source File
# Begin Source File
SOURCE=.\PluginAdapterV1.h
# End Source File
# Begin Source File
SOURCE=.\PluginImpl.h
# End Source File
# Begin Source File
SOURCE=.\Resource.h
# End Source File
# Begin Source File
SOURCE=.\RootLayer.h
# End Source File
# Begin Source File
SOURCE=.\SimpleBar.h
# End Source File
# Begin Source File
SOURCE=.\SinkImpl.h
# End Source File
# Begin Source File
SOURCE=.\SolidImage.h
# End Source File
# Begin Source File
SOURCE=.\StdAfx.h
# End Source File
# Begin Source File
SOURCE=.\View.h
# End Source File
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# Begin Source File
SOURCE=.\Button.rgs
# End Source File
# Begin Source File
SOURCE=.\res\DenAgent.ico
# End Source File
# Begin Source File
SOURCE=.\InjectService.rgs
# End Source File
# Begin Source File
SOURCE=.\InputBuffer.rgs
# End Source File
# Begin Source File
SOURCE=.\MessageStruct.rgs
# End Source File
# Begin Source File
SOURCE=.\MessageVector.rgs
# End Source File
# Begin Source File
SOURCE=.\Pager.rgs
# End Source File
# Begin Source File
SOURCE=.\PluginAdapterV1.rgs
# End Source File
# Begin Source File
SOURCE=.\SolidImage.rgs
# End Source File
# End Group
# End Target
# End Project