Ask questions about Windows programming with Visual C++ and help others by answering their questions.
My application is a win32 service which have several thread to handle the data read from http server. It worked well on Win xp ,win 2k . but on win 2003 server R2 , when try to stop the service ,there was a error message(message box) : "The instruction at "0x....." refrenced memory at "0xffffffff". The memory could not be "read" CLick on OK to terminate the proguram" It happend when call "SetServiceStatus(SERVICE_STOPPED);" to stop the service. I don't konw why that , please do me a favor , thanks .
Perhaps this could help you, http://www.codeguru.com/forum/showthread.php?t=360659