Ignore:
Timestamp:
Jul 15, 2001, 5:18:58 PM (24 years ago)
Author:
sandervl
Message:

Do not use imports not available in Warp 3's PMWINX (WaitForInputIdle)

File:
1 edited

Legend:

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

    r6305 r6340  
    1 /* $Id: wprocess.cpp,v 1.129 2001-07-10 20:41:50 bird Exp $ */
     1/* $Id: wprocess.cpp,v 1.130 2001-07-15 15:18:58 sandervl Exp $ */
    22
    33/*
     
    4343#include <wprocess.h>
    4444#include "mmap.h"
     45#include "initterm.h"
    4546
    4647#define DBG_LOCALLOG    DBG_wprocess
     
    18691870    //block until the launched app waits for input (or a timeout of 15 seconds)
    18701871    //TODO: Shouldn't call Open32, but the api in user32..
    1871     rc = O32_WaitForInputIdle(procinfo.hProcess, 15000);
    1872     if(rc != 0) {
    1873         dprintf(("WinExec: WaitForInputIdle %x returned %x", procinfo.hProcess, rc));
     1872    if(fVersionWarp3) {
     1873        Sleep(1000); //WaitForInputIdle not available in Warp 3
     1874    }
     1875    else {
     1876        rc = O32_WaitForInputIdle(procinfo.hProcess, 15000);
     1877        if(rc != 0) {
     1878            dprintf(("WinExec: WaitForInputIdle %x returned %x", procinfo.hProcess, rc));
     1879        }
    18741880    }
    18751881    CloseHandle(procinfo.hThread);
Note: See TracChangeset for help on using the changeset viewer.