Re: msi: Add handling for the StartServices action

2006-11-30 Thread Alexandre Julliard
James Hawkins [EMAIL PROTECTED] writes:

 +p = args;
 +do
 +{
 +if ((q = strstrW(p, separator))) *q = '\0';
 +
 +(*numargs)++;
 +vector = msi_realloc(vector, *numargs * sizeof(LPWSTR));
 +vector[*numargs - 1] = p;
 +} while (q);

This won't work for more than one arg.

-- 
Alexandre Julliard
[EMAIL PROTECTED]




Re: msi: Add handling for the StartServices action [try2]

2006-11-30 Thread Robert Shearman

James Hawkins wrote:

+scm = OpenSCManagerW(NULL, NULL, SC_MANAGER_ALL_ACCESS);


This can be just SC_MANAGER_CONNECT instead.

--
Rob Shearman