Z
zap
Hi, developers.
I have not finded information in MSDN, and decide to ask you here.
As I understand SCM (Service Control Manager) runs an application and waits
for command "start service". After it receives this command, it starts
new thread by way "CreateThread".
But if I start new thread by "CreateThread", I don't release thread data
(THREAD_DATA).
What I must do? - create new thread by _beginthread and work there or
terminate that thread by _endthread?
with best regards,
zap
I have not finded information in MSDN, and decide to ask you here.
As I understand SCM (Service Control Manager) runs an application and waits
for command "start service". After it receives this command, it starts
new thread by way "CreateThread".
But if I start new thread by "CreateThread", I don't release thread data
(THREAD_DATA).
What I must do? - create new thread by _beginthread and work there or
terminate that thread by _endthread?
with best regards,
zap