prt_ps: added a more verbose message when gsdll32 is not found
This commit is contained in:
@@ -96,6 +96,7 @@
|
|||||||
#define IDS_2120 2120 // "Unable to initialize SDL..."
|
#define IDS_2120 2120 // "Unable to initialize SDL..."
|
||||||
#define IDS_2121 2121 // "Are you sure you want to..."
|
#define IDS_2121 2121 // "Are you sure you want to..."
|
||||||
#define IDS_2122 2122 // "Are you sure you want to..."
|
#define IDS_2122 2122 // "Are you sure you want to..."
|
||||||
|
#define IDS_2123 2123 // "Unable to initialize Ghostscript..."
|
||||||
|
|
||||||
#define IDS_4096 4096 // "Hard disk (%s)"
|
#define IDS_4096 4096 // "Hard disk (%s)"
|
||||||
#define IDS_4097 4097 // "%01i:%01i"
|
#define IDS_4097 4097 // "%01i:%01i"
|
||||||
@@ -174,7 +175,7 @@
|
|||||||
|
|
||||||
#define IDS_LANG_ENUS IDS_7168
|
#define IDS_LANG_ENUS IDS_7168
|
||||||
|
|
||||||
#define STR_NUM_2048 75
|
#define STR_NUM_2048 76
|
||||||
#define STR_NUM_3072 11
|
#define STR_NUM_3072 11
|
||||||
#define STR_NUM_4096 18
|
#define STR_NUM_4096 18
|
||||||
#define STR_NUM_4352 7
|
#define STR_NUM_4352 7
|
||||||
|
@@ -23,6 +23,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
#include "../86box.h"
|
#include "../86box.h"
|
||||||
|
#include "../lang/language.h"
|
||||||
#include "../lpt.h"
|
#include "../lpt.h"
|
||||||
#include "../timer.h"
|
#include "../timer.h"
|
||||||
#include "../pit.h"
|
#include "../pit.h"
|
||||||
@@ -308,7 +309,7 @@ ghostscript_init()
|
|||||||
/* Try loading the DLL. */
|
/* Try loading the DLL. */
|
||||||
ghostscript_handle = dynld_module(PATH_GHOSTSCRIPT_DLL, ghostscript_imports);
|
ghostscript_handle = dynld_module(PATH_GHOSTSCRIPT_DLL, ghostscript_imports);
|
||||||
if (ghostscript_handle == NULL) {
|
if (ghostscript_handle == NULL) {
|
||||||
ui_msgbox(MBX_ERROR, L"Couldn't initialize Ghostscript!");
|
ui_msgbox(MBX_ERROR, (wchar_t *) IDS_2123);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -903,6 +903,7 @@ BEGIN
|
|||||||
IDS_2120 "Unable to initialize SDL, SDL2.dll is required"
|
IDS_2120 "Unable to initialize SDL, SDL2.dll is required"
|
||||||
IDS_2121 "Are you sure you want to hard reset the emulated machine?"
|
IDS_2121 "Are you sure you want to hard reset the emulated machine?"
|
||||||
IDS_2122 "Are you sure you want to quit 86Box?"
|
IDS_2122 "Are you sure you want to quit 86Box?"
|
||||||
|
IDS_2123 "Unable to initialize Ghostscript, gsdll32.dll is required for automatic convertion of PostScript files to PDF.\n\nAny documents sent to the generic PostScript printer will be saved as PostScript files (.ps)."
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE DISCARDABLE
|
STRINGTABLE DISCARDABLE
|
||||||
|
Reference in New Issue
Block a user