I was messing around with command options in winevdm.c and this code seems wrong (line 838):
if (!strcmp( argv[1], "--app-name" ))
{
if (!(appname = argv[2])) usage();
first_arg = argv + 3; /* this */
}
At the end of this if, 'first_arg' should point to the app name, not to the next position. I could be wrong, though. But that's what I understood by reading the code. Currently, it's discarding the first argument.
I was messing around with command options in winevdm.c and this code seems wrong (line 838):
At the end of this if, 'first_arg' should point to the app name, not to the next position. I could be wrong, though. But that's what I understood by reading the code. Currently, it's discarding the first argument.
For example, running the following command:
Outputs
So, the assignment should instead be: