|
@@ -283,12 +283,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, SLIC3R_APP_WKEY);
|
|
|
- wcscat(path_to_slic3r, L".dll");
|
|
|
+ wcscat(path_to_slic3r, L"Slic3r.dll");
|
|
|
// printf("Loading Slic3r library: %S\n", path_to_slic3r);
|
|
|
HINSTANCE hInstance_Slic3r = LoadLibraryExW(path_to_slic3r, nullptr, 0);
|
|
|
if (hInstance_Slic3r == nullptr) {
|
|
|
- printf(SLIC3R_APP_KEY ".dll was not loaded, error code: %d\n", GetLastError());
|
|
|
+ printf("Slic3r.dll was not loaded, error code: %d\n", GetLastError());
|
|
|
return -1;
|
|
|
}
|
|
|
|