Sui Tam
9/24/2002 8:04:00 PM
The following piece of code works on WIN2000 but it stops
working with .NET Server RC1
SC_HANDLE sch = NULL, h = NULL;
if ((sch = OpenSCManager(g_MachName=NULL, NULL,
GENERIC_READ))==NULL) {
goto errout;
}
if ((h = OpenService(sch, "ClusSvc",
GENERIC_READ)) == NULL) {
goto errout;
}
It returns with error:
Err997: Overlapped I/O operation in progress.
What is the workaround for this problem?