10 May
2007
10 May
'07
10:29 a.m.
"Tim Schwartz" <tim(a)sanityinternet.com> wrote:
+ GetServiceDisplayName(SCManager, service_name, NULL, &buffer_size); + if(!buffer_size)
You need to check the GetServiceDisplayName retrun value, not buffer_size. If GetServiceDisplayName succeeds buffer_size contains valid length. Also please numerate your retries, like "Take 3" or something like that. -- Dmitry.
6882
Age (days ago)
6882
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov