Ignore:
Timestamp:
Aug 10, 1999, 12:10:09 AM (26 years ago)
Author:
phaller
Message:

Fix: fixes and updates for ODINCRT support

File:
1 edited

Legend:

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

    r281 r461  
    1 /* $Id: winimage.cpp,v 1.5 1999-07-07 08:11:10 sandervl Exp $ */
     1/* $Id: winimage.cpp,v 1.6 1999-08-09 22:10:09 phaller Exp $ */
    22
    33/*
     
    1111 *
    1212 */
     13
    1314#define INCL_DOSFILEMGR          /* File Manager values      */
    1415#define INCL_DOSMODULEMGR
     
    1819#define INCL_WIN
    1920#define INCL_BASE
    20 #include <os2wrap.h>    //Odin32 OS/2 api wrappers
     21#include <os2wrap.h>             //Odin32 OS/2 api wrappers
     22
    2123#include <stdio.h>
    2224#include <string.h>
    2325#include <stdlib.h>
     26
     27#include <odincrt.h>
     28
    2429#include <iostream.h>
    2530#include <fstream.h>
     
    138143    DosFreeResource((PVOID)Win32Table);
    139144
    140   while(winres) {
     145  while(winres)
     146  {
    141147    res    = winres->next;
    142     delete winres;
     148    ODIN_delete(winres);
    143149    winres = res;
    144150  }
     
    301307            continue;
    302308        }
    303         if(IsImportSection(win32file, &psh[i])) 
     309        if(IsImportSection(win32file, &psh[i]))
    304310        {
    305311          int type = SECTION_IMPORT;
     
    975981    fout << "**********************************************************************" << endl;
    976982    WinDll = Win32Dll::findModule(pszCurModule);
    977     if(WinDll == NULL) {//not found, so load it
     983    if(WinDll == NULL)
     984     {  //not found, so load it
     985        ODIN_FS_BEGIN
    978986        WinDll = new Win32Dll(pszCurModule);
     987        ODIN_FS_END
    979988
    980989        if(WinDll == NULL) {
Note: See TracChangeset for help on using the changeset viewer.