From 121e95f9c144726509843a51ef0f77f9fb079821 Mon Sep 17 00:00:00 2001 From: supermerill Date: Sat, 14 Nov 2020 22:10:41 +0100 Subject: [PATCH] fix windows build --- src/PrusaSlicer_app_msvc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PrusaSlicer_app_msvc.cpp b/src/PrusaSlicer_app_msvc.cpp index 8cfeccc7c..a1b87e05b 100644 --- a/src/PrusaSlicer_app_msvc.cpp +++ b/src/PrusaSlicer_app_msvc.cpp @@ -282,11 +282,11 @@ int wmain(int argc, wchar_t **argv) wchar_t path_to_slic3r[MAX_PATH + 1] = { 0 }; wcscpy(path_to_slic3r, path_to_exe); - wcscat(path_to_slic3r, L"slic3r.dll"); -// printf("Loading Slic3r library: %S\n", path_to_slic3r); + wcscat(path_to_slic3r, L"SuperSlicer.dll"); +// printf("Loading SuperSlicer library: %S\n", path_to_slic3r); HINSTANCE hInstance_Slic3r = LoadLibraryExW(path_to_slic3r, nullptr, 0); if (hInstance_Slic3r == nullptr) { - printf("slic3r.dll was not loaded, error code: %d\n", GetLastError()); + printf("SuperSlicer.dll was not loaded, error code: %d\n", GetLastError()); return -1; }