Changeset 134 for trunk/emx-wrapper/voyager-desktop.c
- Timestamp:
- Dec 3, 2006, 9:54:48 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/emx-wrapper/voyager-desktop.c
r133 r134 54 54 Initialize the garbage collector. 55 55 */ 56 if((rc=DosLoadModule(uchrError, sizeof(uchrError)," vdesktop.dll", &hModuleGC))!=NO_ERROR)56 if((rc=DosLoadModule(uchrError, sizeof(uchrError),"nobjtk.dll", &hModuleGC))!=NO_ERROR) 57 57 { 58 printf("DosLoadmodule for vdesktop.dll failed with rc=0x%x because of module %s.\n", (int)rc, uchrError);58 printf("DosLoadmodule for nobjtk.dll failed with rc=0x%x because of module %s.\n", (int)rc, uchrError); 59 59 return 1; 60 60 }; 61 fprintf(stderr, "DLL handle for Vdesktop.dll is: 0x%x\n", (int)hModuleGC);61 fprintf(stderr, "DLL handle for nobjtk.dll is: 0x%x\n", (int)hModuleGC); 62 62 if((rc = DosQueryProcAddr(hModuleGC, /* Handle to module */ 63 63 0L, /* No ProcName specified */ 64 " initGarbageCollection", /* ProcName (not specified) */64 "nomInitGarbageCollection", /* ProcName (not specified) */ 65 65 &proc))!=NO_ERROR) /* Address returned 0 */ 66 66 { 67 fprintf(stderr, "DosQueryProcAddr for initGarbageCollection() failed with rc=0x%x\n",(int) rc);67 fprintf(stderr, "DosQueryProcAddr for nomInitGarbageCollection() failed with rc=0x%x\n",(int) rc); 68 68 return 1; 69 69 } 70 fprintf(stderr, " Proc address for initGarbageCollection() is: 0x%x\n", (int)proc);70 fprintf(stderr, " Proc address for nomInitGarbageCollection() is: 0x%x\n", (int)proc); 71 71 proc(); 72 72
Note:
See TracChangeset
for help on using the changeset viewer.