diff --git a/src/01/KSociety.SharpCubeProgrammer/KSociety.SharpCubeProgrammer.csproj b/src/01/KSociety.SharpCubeProgrammer/KSociety.SharpCubeProgrammer.csproj index 3868767..6a4df50 100644 --- a/src/01/KSociety.SharpCubeProgrammer/KSociety.SharpCubeProgrammer.csproj +++ b/src/01/KSociety.SharpCubeProgrammer/KSociety.SharpCubeProgrammer.csproj @@ -23,25 +23,19 @@ --> - + - + - + - - - - - - - + - + diff --git a/src/01/Programmer/dllmain.cpp b/src/01/Programmer/dllmain.cpp index c83caea..37a412c 100644 --- a/src/01/Programmer/dllmain.cpp +++ b/src/01/Programmer/dllmain.cpp @@ -22,7 +22,7 @@ BOOL APIENTRY DllMain( HMODULE hModule, if (size > 0) { std::wstring dllNameStr(dllName); - std::size_t pos = dllNameStr.size() - 22; + std::size_t pos = dllNameStr.size() - 14; dllNameStr = dllNameStr.substr(0, pos); dllNameStr += loaderPath; std::replace(dllNameStr.begin(), dllNameStr.end(), '\\', '/');