Skip to content

Commit a5f517b

Browse files
authored
Merge 000df0a into 146c27e
2 parents 146c27e + 000df0a commit a5f517b

File tree

3 files changed

+24
-6
lines changed

3 files changed

+24
-6
lines changed

Src/ClassicExplorer/ClassicExplorerSettings/ClassicExplorerSettings.cpp

+9-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,15 @@ static BOOL CALLBACK FindSettingsEnum( HWND hwnd, LPARAM lParam )
3737
HMODULE LoadClassicExplorerDll( void )
3838
{
3939
wchar_t path[_MAX_PATH];
40-
GetModuleFileName(NULL,path,_countof(path));
41-
*PathFindFileName(path)=0;
42-
PathAppend(path,L"ClassicExplorer32.dll");
40+
GetModuleFileName(NULL, path, _countof(path));
41+
*PathFindFileName(path) = 0;
42+
43+
// Load the proper module depending on architecture rather than hardcoding the x86 one
44+
#ifdef _WIN64
45+
PathAppend(path, L"ClassicExplorer64.dll");
46+
#else
47+
PathAppend(path, L"ClassicExplorer32.dll");
48+
#endif
4349
return LoadLibrary(path);
4450
}
4551

Src/ClassicExplorer/ClassicExplorerSettings/ClassicExplorerSettings.vcxproj

+12
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,26 @@
55
<Configuration>Debug</Configuration>
66
<Platform>Win32</Platform>
77
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Debug|x64">
9+
<Configuration>Debug</Configuration>
10+
<Platform>x64</Platform>
11+
</ProjectConfiguration>
812
<ProjectConfiguration Include="Release|Win32">
913
<Configuration>Release</Configuration>
1014
<Platform>Win32</Platform>
1115
</ProjectConfiguration>
16+
<ProjectConfiguration Include="Release|x64">
17+
<Configuration>Release</Configuration>
18+
<Platform>x64</Platform>
19+
</ProjectConfiguration>
1220
<ProjectConfiguration Include="Setup|Win32">
1321
<Configuration>Setup</Configuration>
1422
<Platform>Win32</Platform>
1523
</ProjectConfiguration>
24+
<ProjectConfiguration Include="Setup|x64">
25+
<Configuration>Setup</Configuration>
26+
<Platform>x64</Platform>
27+
</ProjectConfiguration>
1628
</ItemGroup>
1729
<PropertyGroup Label="Globals">
1830
<ProjectGuid>{E93271C8-0252-4A08-8227-1978C64C2D34}</ProjectGuid>

Src/OpenShell.sln

+3-3
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,13 @@ Global
201201
{E1017135-9916-4B11-9AC5-1EC0BD8F8CD6}.Setup|x64.ActiveCfg = Release|Win32
202202
{E93271C8-0252-4A08-8227-1978C64C2D34}.Debug|Win32.ActiveCfg = Debug|Win32
203203
{E93271C8-0252-4A08-8227-1978C64C2D34}.Debug|Win32.Build.0 = Debug|Win32
204-
{E93271C8-0252-4A08-8227-1978C64C2D34}.Debug|x64.ActiveCfg = Debug|Win32
204+
{E93271C8-0252-4A08-8227-1978C64C2D34}.Debug|x64.ActiveCfg = Debug|x64
205205
{E93271C8-0252-4A08-8227-1978C64C2D34}.Release|Win32.ActiveCfg = Release|Win32
206206
{E93271C8-0252-4A08-8227-1978C64C2D34}.Release|Win32.Build.0 = Release|Win32
207-
{E93271C8-0252-4A08-8227-1978C64C2D34}.Release|x64.ActiveCfg = Release|Win32
207+
{E93271C8-0252-4A08-8227-1978C64C2D34}.Release|x64.ActiveCfg = Release|x64
208208
{E93271C8-0252-4A08-8227-1978C64C2D34}.Setup|Win32.ActiveCfg = Setup|Win32
209209
{E93271C8-0252-4A08-8227-1978C64C2D34}.Setup|Win32.Build.0 = Setup|Win32
210-
{E93271C8-0252-4A08-8227-1978C64C2D34}.Setup|x64.ActiveCfg = Setup|Win32
210+
{E93271C8-0252-4A08-8227-1978C64C2D34}.Setup|x64.ActiveCfg = Setup|x64
211211
{0A60FD06-3A81-4651-A869-9850DBC115EA}.Debug|Win32.ActiveCfg = Resource|Win32
212212
{0A60FD06-3A81-4651-A869-9850DBC115EA}.Debug|Win32.Build.0 = Resource|Win32
213213
{0A60FD06-3A81-4651-A869-9850DBC115EA}.Debug|x64.ActiveCfg = Resource|Win32

0 commit comments

Comments
 (0)