Category : C++ Source Code
Archive   : EXECWA.ZIP
Filename : EXECWAIT.H

Output of file : EXECWAIT.H contained in archive : EXECWA.ZIP
This code was taken from the ExecWait program which was written by Walter
Oney -- I compiled with the All functions exportable option turned on.
See the code in the WinTech Library if you need further explanation
#ifndef INCL_ExecWait
#define INCL_ExecWait

#include "Common.h"
#include "ExecWait.rch"

#define EXEC_ERR_NOTASK -2
#define EXEC_ERR_WINEXEC -32

class ExecWait
ExecWait(HWND hWnd, HINSTANCE hInst, LPCSTR szCmdLine);

inline int Error(void) {int n = nErr; nErr = 0; return n;}

HTASK GetTaskHandle(HINSTANCE hInst);
static BOOL _export CALLBACK ExecWait::NotifyProc(WORD wId, DWORD dwData);

static HTASK htSpawned;
static HWND hWndNotify;
BYTE bRegistered;
int nErr;
typedef ExecWait *PExecWait;


  3 Responses to “Category : C++ Source Code
Archive   : EXECWA.ZIP
Filename : EXECWAIT.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: