Ignore:
Timestamp:
Dec 3, 2006, 9:54:48 AM (19 years ago)
Author:
cinc
Message:

GC init lives in the NOM TK DLL now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/emx-wrapper/voyager-desktop.c

    r133 r134  
    5454    Initialize the garbage collector.
    5555   */
    56   if((rc=DosLoadModule(uchrError, sizeof(uchrError),"vdesktop.dll", &hModuleGC))!=NO_ERROR)
     56  if((rc=DosLoadModule(uchrError, sizeof(uchrError),"nobjtk.dll", &hModuleGC))!=NO_ERROR)
    5757    {
    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);
    5959      return 1;
    6060    };
    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);
    6262  if((rc = DosQueryProcAddr(hModuleGC,                  /* Handle to module           */
    6363                            0L,                         /* No ProcName specified      */
    64                             "initGarbageCollection",    /* ProcName (not specified)   */
     64                            "nomInitGarbageCollection",    /* ProcName (not specified)   */
    6565                            &proc))!=NO_ERROR)          /* Address returned           0 */
    6666    {
    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);
    6868      return 1;
    6969    }
    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);
    7171  proc();
    7272
Note: See TracChangeset for help on using the changeset viewer.