https://bugs.winehq.org/show_bug.cgi?id=49745 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEEDINFO Ever confirmed|0 |1 --- Comment #6 from Nikolay Sivov <bunglehead(a)gmail.com> --- (In reply to Kyle_Katarn from comment #5)
TRACE("(%s, %p)n", debugstr_w(commandLine), parent); WCHAR parameters[MAX_PATH] = L"shell32.dll,Control_RunDLL "; wcscat(parameters, commandLine); return ((INT_PTR)ShellExecuteW(parent, L"open", L"rundll32.exe", parameters, NULL, SW_SHOWNORMAL) > 32);
Yes, that's probably fine. You might as well put whole command line as third argument. At the same time you might as well use same couple of lines instead of SHRunControlPanel(), which looks stubbed out in current Windows versions. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.