- Timestamp:
- Jul 31, 2016, 9:04:33 PM (5 years ago)
- Location:
- trunk/Lucide/gui
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Lucide/gui/docViewer.cpp
r495 r521 53 53 #include "cpconv.h" 54 54 55 55 #define INCL_EXCEPTQ_CLASS 56 #define INCL_LOADEXCEPTQ 57 #include "exceptq.h" 56 58 // ASYNCH_RENDER_ENABLE, normally must be defined 57 59 #define ASYNCH_RENDER_ENABLE … … 694 696 void DocumentViewer::searchthread( void *p ) 695 697 { 698 ScopedExceptqLoader sel; 696 699 DosSetPriority( PRTYS_THREAD, PRTYC_REGULAR, PRTYD_MINIMUM, 0 ); 697 700 DocumentViewer *_this = (DocumentViewer *)p; … … 1035 1038 void DocumentViewer::drawthread( void *p ) 1036 1039 { 1040 ScopedExceptqLoader sel; 1041 1037 1042 DosSetPriority( PRTYS_THREAD, PRTYC_REGULAR, PRTYD_MINIMUM, 0 ); 1038 1043 DocumentViewer *_this = (DocumentViewer *)p; -
trunk/Lucide/gui/lcd.c
r469 r521 39 39 #include <process.h> 40 40 41 #define INCL_LOADEXCEPTQ 42 #include "exceptq.h" 41 43 // 42 44 // Lcd.exe sets BEGINLIBPATH to directory where Lucide resides … … 53 55 HMODULE hmod = NULLHANDLE; 54 56 APIRET rc = 0; 57 EXCEPTIONREGISTRATIONRECORD exRegRec; 55 58 56 59 #ifdef __TEST__ 57 60 PPIB pib; 58 61 PTIB tib; 62 LoadExceptq(&exRegRec, "I", "Lucide "VERSION); 59 63 DosGetInfoBlocks(&tib, &pib); 60 64 pib->pib_ultype = 3; 65 #else 66 LoadExceptq(&exRegRec, "I", "Lucide "VERSION); 61 67 #endif 62 68 … … 65 71 if ( ( last_slash = strrchr( buf, '\\' ) ) == NULL ) 66 72 { 73 UninstallExceptq(&exRegRec); 67 74 return 1; 68 75 } … … 77 84 DosSetExtLIBPATH( buf, BEGIN_LIBPATH ); 78 85 79 rc = DosLoadModule( buf, sizeof( buf ), "Lucide ", &hmod );86 rc = DosLoadModule( buf, sizeof( buf ), "Lucide1", &hmod ); 80 87 if ( rc == 0 ) 81 88 { … … 98 105 99 106 if ( buf[0] == 0 ) { // No modulename 100 snprintf( msg, sizeof( msg ), "Error loading Lucide .dll: SYS%04u", rc );107 snprintf( msg, sizeof( msg ), "Error loading Lucide1.dll: SYS%04u", rc ); 101 108 } 102 109 else { 103 110 snprintf( msg, sizeof( msg ), 104 "Error loading Lucide .dll: can't find module '%s' (SYS%04u)",111 "Error loading Lucide1.dll: can't find module '%s' (SYS%04u)", 105 112 buf, rc ); 106 113 } … … 110 117 WinTerminate( hab ); 111 118 } 112 119 UninstallExceptq(&exRegRec); 113 120 return result; 114 121 } -
trunk/Lucide/gui/lucide.cpp
r506 r521 77 77 #include "messages.h" 78 78 79 #define INCL_EXCEPTQ_CLASS 80 #define INCL_LOADEXCEPTQ 81 #include "exceptq.h" 79 82 80 83 #define ID_SPLITTER 1 … … 477 480 void Lucide::loadthread( void* ) 478 481 { 482 ScopedExceptqLoader sel; 479 483 HAB thab = WinInitialize( 0 ); 480 484 HMQ thmq = WinCreateMsgQueue( thab, 0 ); … … 1632 1636 __declspec(dllexport) _System APIRET APIENTRY LucideMain( int argc, char *argv[] ) 1633 1637 { 1638 ScopedExceptqLoader sel; 1634 1639 HMQ hmq; 1635 1640 QMSG qmsg; 1641 1636 1642 hab = WinInitialize( 0 ); 1637 1643 hmq = WinCreateMsgQueue( hab, 0 ); -
trunk/Lucide/gui/pipemon.cpp
r399 r521 41 41 #include "Lucide_res.h" 42 42 43 43 #define INCL_EXCEPTQ_CLASS 44 #define INCL_LOADEXCEPTQ 45 #include "exceptq.h" 44 46 static const char *pipeName = "\\PIPE\\LUCIDE"; 45 47 … … 57 59 static void pipeMonitor( void *p ) 58 60 { 61 ScopedExceptqLoader sel; 59 62 HWND hWndFrame = (HWND)p; 60 63 -
trunk/Lucide/gui/pluginman.cpp
r367 r521 73 73 74 74 // enum plugins, (LU*.DLL) except for LUDOC.DLL, which is 'null' plugin 75 // and Lucide .dll, which is not a plugin.75 // and Lucide1.dll, which is not a plugin. 76 76 find_t ffblk; 77 77 unsigned done = _dos_findfirst( buffer, _A_RDONLY | _A_NORMAL, &ffblk ); -
trunk/Lucide/gui/print.cpp
r367 r521 51 51 #include "messages.h" 52 52 53 #define INCL_EXCEPTQ_CLASS 54 #define INCL_LOADEXCEPTQ 55 #include "exceptq.h" 53 56 54 57 #ifndef DEVESC_ERROR … … 472 475 void LucidePrinting::printthread( void *p ) 473 476 { 477 ScopedExceptqLoader(); 474 478 DosSetPriority( PRTYS_THREAD, PRTYC_IDLETIME, PRTYD_MAXIMUM, 0 ); 475 479 LucidePrinting *_this = (LucidePrinting *)p;
Note: See TracChangeset
for help on using the changeset viewer.