Skip to content

Commit

Permalink
SporeModLoader: add dllmain.rc
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Oct 13, 2023
1 parent 23841a9 commit 2c0661c
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SporeModLoader/SporeModLoader.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ if NOT EXIST "$(MSBuildProjectDirectory)\..\3rdParty\Spore-ModAPI\dll\Release\Sp
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="resource.h" />
<ClInclude Include="SporeModLoader.hpp" />
<ClInclude Include="SporeModLoaderHelpers.hpp" />
</ItemGroup>
Expand All @@ -192,6 +193,9 @@ if NOT EXIST "$(MSBuildProjectDirectory)\..\3rdParty\Spore-ModAPI\dll\Release\Sp
<ItemGroup>
<None Include="dllmain.def" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="dllmain.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
Expand Down
8 changes: 8 additions & 0 deletions SporeModLoader/SporeModLoader.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
<ClInclude Include="SporeModLoaderHelpers.hpp">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="resource.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="SporeModLoader.cpp">
Expand All @@ -34,4 +37,9 @@
<Filter>Source Files</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="dllmain.rc">
<Filter>Source Files</Filter>
</ResourceCompile>
</ItemGroup>
</Project>
Binary file added SporeModLoader/dllmain.rc
Binary file not shown.
14 changes: 14 additions & 0 deletions SporeModLoader/resource.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by dllmain.rc

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

0 comments on commit 2c0661c

Please sign in to comment.