Reputation: 6333
(Visual Studio c++ 6.0)
.\app.h(69) : error C2146: syntax error : missing ';' before identifier 'IsProcessRunning'
.\app.h(69) : error C2501: 'DWORD' : missing storage-class or type specifiers
.\app.h(69) : error C2061: syntax error : identifier 'LPCTSTR'
.\app.h(70) : error C2061: syntax error : identifier 'LPCTSTR'
Not sure why these errors? Why the syntax error? DWORD and LPCTSRT are recognized.
virtual BOOLEAN DoNew( void );
DWORD IsProcessRunning(LPCTSTR procname);
bool TerminateProcess(LPCTSTR procname);
void UpdateControllerStatus( void );
Upvotes: 0
Views: 9994
Reputation: 66
According to the errors, DWORD is not recognized. Are you sure you are including windows.h?
Upvotes: 3