[PATCH] shell32: Skip OpenAs_RunDLL in uri

Nikolay Sivov nsivov at codeweavers.com
Tue Sep 8 08:26:19 CDT 2020



On 9/8/20 1:58 PM, Haoyang Chen wrote:
> It will definitely open an "Open With" dialog box and let the user
> choose which application to use to open the URI. Even if the default
> application is indicated in the registry, it will be opened. I don't
> know much about the implementation of this function. My idea is
> simple, just skip it and let shellexecute use the default registry
> program to open it.

That will run things automatically, when normally user has control to
cancel it.

>
> 在 2020/9/8 下午6:07, Nikolay Sivov 写道:
>>
>> On 9/8/20 12:28 PM, Haoyang Chen wrote:
>>> Through windows 7,  I found that OpenAs_RunDLL functions will open a
>>> dialog that can choose to specify the application. my idea is to skip
>>> this OpenAs_RunDLL and use wine's default application execution.
>>>
>>> eg: ShellExecuteW(NULL,  L"open", L"rundll32.exe", L"shell32.dll,
>>> OpenAs_RunDLL https://www.winehq.org/", NULL,  SW_SHOW);
>> If it's only meant to open a dialog, why would you shellexec instead?
>>
>> P.S. please cc wine-devel on replies.
>>
>>> 在 2020/9/8 下午3:57, Nikolay Sivov 写道:
>>>> It's probably easier to implement OpenAs_RunDLL(). What is the full
>>>> command line and what is supposed to happen on OpenAs_RunDLL() call?
>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>>
>
>




More information about the wine-devel mailing list