https://bugs.winehq.org/show_bug.cgi?id=57090
Bug ID: 57090 Summary: incorrectly parsing parameters in winevdm Product: Wine Version: 9.15 Hardware: x86-64 URL: https://winworldpc.com/product/aldus-photostyler/2x OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: crypt32 Assignee: wine-bugs@winehq.org Reporter: guillere@adinet.com.uy Distribution: Debian
"Aldus PhotoStyler 2.0 SE" installs "KODAC PRECISION Color configure" in the control panel, when you run it, it does nothing. Thinking it was a problem with the Control Panel Applet, I debugged kcfg32.cpl and there I saw that it called kcfg16.exe kcfg16.exe does nothing in wine, testing in windows I also notice that kcfg16.exe (win16) does nothing. I debug the applet again and see that it calls kcfg16.exe with parameters! If the parameters it expects are not there then it ends silently.
I test in windows7 with the detected parameters. CMD => kcfg16.exe 1 "c:\windows\system32\kcfg.hlp" "KODAC PRECISION Color configure"
I try variations of parameters I come to understand the general form kcfg16.exe $VALUE "$HELP_FILE_in_quotes" "$WINDOWS_TITLE_in_quotes"
$VALUE= 1 OR 2 OR 3 ; 3 is Snooper window $HELP_FILE_in_quotes= need to be quoted! can be any string ; used to call winhelp $WINDOWS_TITLE_in_quotes= need to be quoted! can be any string ; used for windows title
minimal functional form kcfg16.exe 1""""
In wine CMD => kcfg16.exe 1 "c:\windows\system32\kcfg.hlp" "KODAC PRECISION Color configure" => not work kcfg16.exe 1 "blabla" "blabla" => not work kcfg16.exe 1 "blabla" "blabla" => WORK!!!!!!!
Debugging getting insted it call winedvm.exe --app-name c:\windows\system32\kcfg16.exe c:\windows\system32\kcfg16.exe 1 "blabla" "blabla" => also not work winedvm.exe --app-name kcfg16.exe kcfg16.exe 1 "blabla" "blabla" => THIS WORKS!!!