Ignore:
Timestamp:
Aug 27, 2010, 12:32:58 AM (15 years ago)
Author:
dmik
Message:

Attempted to make Odin work in LIBPATHSTRICT=T mode by replacing DosQueryModuleHandle() with the custom made DosQueryModuleHandleStrict().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/console.cpp

    r10471 r21426  
    7373#include <win32api.h>
    7474#include <misc.h>
     75#include <odincrt.h>
    7576
    7677#include "conwin.h"          // Windows Header for console only
     
    376377
    377378                                    /* obtain module handle to our resources */
    378   rc = DosQueryModuleHandle("KERNEL32",
    379                             &ConsoleGlobals.hmodResource);
     379  rc = DosQueryModuleHandleStrict("KERNEL32",
     380                                  &ConsoleGlobals.hmodResource);
    380381  if (rc != NO_ERROR)
    381382    dprintf(("KERNEL32/CONSOLE: Can't get handle to KERNEL32 (%u).\n",
Note: See TracChangeset for help on using the changeset viewer.