Impotant (Error)
C:\Program Files\Microsoft Visual Studio\MyProjects\SysInfoService\SysInfoService.cpp(609) : error C2065: '_beginthread' : undeclared identifier
Error executing cl.exe.
I write a windows service program (SysInfoService), but this error accured.
I don't understand this error!!!!
How can i solve this problem ?
Should i install any tool about services or processes?
Please help me...
Thanx everybody...
[454 byte] By [
blackdevil] at [2007-11-18 20:33:39]

# 3 Re: Impotant (Error)
Just #include <process.h>
Anyhow to further understanding of C2065 or whatever (compiler) error just search for it in MSDN.
The first tip of Compiler Error C2065 is "Make sure any include file containing the required declaration is not omitted."
Then take a look again in _beginthread documentation and you'll see the required header.
# 4 Re: Impotant (Error)
For the second question see Project Settings\C/C++\Cathegory:Code Generation\Use run-time library.
And for a quick explain, click on question mark button then in
Use run-time library combo.