fixed some error message text
This commit is contained in:
parent
ceff822d30
commit
9b2a88be3e
@ -844,7 +844,7 @@ namespace PdfScribeCore
|
||||
//throw new Win32Exception(Marshal.GetLastWin32Error(), "Could not add printer PDF Scribe printer driver.");
|
||||
logEventSource.TraceEvent(TraceEventType.Error,
|
||||
(int)TraceEventType.Error,
|
||||
"Could add PDF Scribe printer driver." +
|
||||
"Could not add PDF Scribe printer driver. " +
|
||||
String.Format(WIN32ERROR, Marshal.GetLastWin32Error().ToString()));
|
||||
}
|
||||
return printerDriverInstalled;
|
||||
@ -860,7 +860,6 @@ namespace PdfScribeCore
|
||||
bool driverRemoved = NativeMethods.DeletePrinterDriverEx(null, ENVIRONMENT_64, DRIVERNAME, DPD_DELETE_UNUSED_FILES, 3);
|
||||
if (!driverRemoved)
|
||||
{
|
||||
//throw new Win32Exception(Marshal.GetLastWin32Error(), "Could not remove PDF Scribe printer driver");
|
||||
logEventSource.TraceEvent(TraceEventType.Error,
|
||||
(int)TraceEventType.Error,
|
||||
"Could not remove PDF Scribe printer driver. " +
|
||||
@ -892,7 +891,6 @@ namespace PdfScribeCore
|
||||
}
|
||||
else
|
||||
{
|
||||
//throw new Win32Exception(Marshal.GetLastWin32Error(), "Could not add PDF Scribe virtual printer.");
|
||||
logEventSource.TraceEvent(TraceEventType.Error,
|
||||
(int)TraceEventType.Error,
|
||||
"Could not add PDF Scribe virtual printer. " +
|
||||
|
Loading…
Reference in New Issue
Block a user