10 const int LINE_INPUT_MAX_CHAR = 10*4096;
21 HANDLE hInput, hOutput;
28 CRITICAL_SECTION CriticalSection;
31 volatile int nReadEnd;
32 char lpBuffer[LINE_INPUT_MAX_CHAR];
33 char lpReadBuffer[LINE_INPUT_MAX_CHAR];
35 void Open(const char *szExecFile = NULL);
36 void Close(void) const;
37 void Kill(void) const;
41 void set_Active(void);
44 bool CheckInput(void);
45 bool GetBuffer(char *szLineStr);
46 void LineInput(char *szLineStr);
47 void LineOutput(const char *szLineStr) const;