Skip to content
Snippets Groups Projects
Commit 8c03474b authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard
Browse files

Fixed image name value sent to server upon process creation.

parent f7c69ede
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,7 @@ PDB current_process;
static char **main_exe_argv;
static char main_exe_name[MAX_PATH];
static char *main_exe_name_ptr = main_exe_name;
static HANDLE main_exe_file;
unsigned int server_startticks;
......@@ -337,7 +338,8 @@ static void start_process(void)
{
req->module = (void *)current_process.module;
req->entry = entry;
req->name = main_exe_name;
/* API requires a double indirection */
req->name = &main_exe_name_ptr;
req->exe_file = main_exe_file;
req->gui = !console_app;
SERVER_CALL();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment