Looking at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla...
and then looking at our shlexec.c, I noticed one small difference between the 2 and was wonder if a bug should be filed on it..
In the MSDN docs, it says that if lpOperation is null:
"For systems prior to Microsoft Windows 2000, the default verb is used if it is valid and available in the registry. If not, the "open" verb is used.
For Windows 2000 and later systems, the default verb is used if available. If not, the "open" verb is used. If neither verb is available, the system uses the first verb listed in the registry."
In wine's shlexec.c, if lpOperation is null, we only use the open verb, like so:
if (lpOperation == NULL) /* default is open */ lpOperation = "open";
I think this could hinder certain programs, especially if someone would like it to do something besides open the file (like in the case of bug 22, where it is a link, not a file).. This could also be a problem if there is no application associated with the file, since we have no window/tool allowing the user to choose the app...
I guess I should add that in the code for shlexec.c we do have handling for links, but it appears to not make it that far as of right now..
So should this be filed as a bug or would it be too difficult to implement a check for the proper verb?
===== -- Dustin Navea
Minor Contributor, winehq.com Buzilla Janitor, bugs.winehq.com Network Admin, irc.blynk.net (down)
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
Dustin Navea wrote:
So should this be filed as a bug or would it be too difficult to implement a check for the proper verb?
Just copy this email into Bugzilla.
Excellent bug report.
Shachar