Page 1 of 1

OpenAs_RunDLL vs. SHOpenWithDialog

Posted: Thu Jun 07, 2018 2:33 pm
by katayama_hirofumi_mz
Hello, everyone!

I'm trying to implement Folder Options. It needs the "Open With" dialog. After investigation, I found the possible candidates are OpenAs_RunDLL and SHOpenWithDialog functions.

SHOpenWithDialog
https://msdn.microsoft.com/en-us/librar ... 62234.aspx

SHOpenWithDialog is Vista+, so Windows Server 2003 doesn't have implementation of SHOpenWithDialog function. However ReactOS have a limited SHOpenWithDialog implementation.

On the other hand, OpenAs_RunDLL is not documented. ReactOS doesn't no implementation of OpenAs_RunDLL.

To implement Folder Options, we have to use either OpenAs_RunDLL or SHOpenWithDialog function. I cannot analyse it deaply. I can use API Monitor for my analysis, but cannot use OllyDbg yet.

What should we do?

Re: OpenAs_RunDLL vs. SHOpenWithDialog

Posted: Thu Jun 07, 2018 3:47 pm
by EmuandCo
Can we "steal" it from Wine maybe?

Re: OpenAs_RunDLL vs. SHOpenWithDialog

Posted: Fri Jun 08, 2018 2:42 am
by katayama_hirofumi_mz
No. There is no SHOpenWithDialog nor OpenAs_RunDLLW implementations in Wine.

Re: OpenAs_RunDLL vs. SHOpenWithDialog

Posted: Fri Jun 08, 2018 3:43 am
by katayama_hirofumi_mz
If we use SHOpenWithDialog for ReactOS Folder Options, then its API would target Vista+ and we have to test SHOpenWithDialog against Vista+. We cannot test SHOpenWithDialog in win2k3.