Author: amunger
Date: Tue Sep 2 23:33:51 2008
New Revision: 35893
URL:
http://svn.reactos.org/svn/reactos?rev=35893&view=rev
Log:
Pass the ImagePath buffer as the command line, not the application name. After the recent
changes, the ImaagePath buffer contains a properly formatted command line.
This change allows you to start services with parameters listed in the ImagePath, like
Abyss and MySQL.
Modified:
trunk/reactos/base/system/services/database.c
Modified: trunk/reactos/base/system/services/database.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/datab…
==============================================================================
--- trunk/reactos/base/system/services/database.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/database.c [iso-8859-1] Tue Sep 2 23:33:51 2008
@@ -896,8 +896,8 @@
StartupInfo.cbReserved2 = 0;
StartupInfo.lpReserved2 = 0;
- Result = CreateProcessW(ImagePath.Buffer,
- NULL,
+ Result = CreateProcessW(NULL,
+ ImagePath.Buffer,
NULL,
NULL,
FALSE,