IContextMenu::InvokeCommand in a separate thread
- crystalidea
- Posts: 205
- Joined: 09 Dec 2005, 15:13
- Contact:
Re: IContextMenu::InvokeCommand in a separate thread
Do you also execute 'IContextMenu::InvokeCommand' when a user does a simple double click or presses Enter on executable file?
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact:
Re: IContextMenu::InvokeCommand in a separate thread
Yes, it is what Windows Explorer and Altap Salamander does.
Edit: it is possible to execute from another process - http://www.altap.cz/salamander/help/sal ... ion_gener/ - Open files through salopen.exe (it bypasses shell extensions errors).
But I would not recommend this option when you have no problem, it is a little hackish. Also note salopen.exe will execute through IContextMenu::InvokeCommand, just from different process.
Edit: it is possible to execute from another process - http://www.altap.cz/salamander/help/sal ... ion_gener/ - Open files through salopen.exe (it bypasses shell extensions errors).
But I would not recommend this option when you have no problem, it is a little hackish. Also note salopen.exe will execute through IContextMenu::InvokeCommand, just from different process.
- crystalidea
- Posts: 205
- Joined: 09 Dec 2005, 15:13
- Contact:
Re: IContextMenu::InvokeCommand in a separate thread
Yes, it does the trick. Though works a little weird: when I clicked on .exe nothing happened, after 10-15 seconds iTunes installer appeared ...
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact:
Re: IContextMenu::InvokeCommand in a separate thread
Yes, this option is not recommended.