IContextMenu Handler - Should ShellExecute or CreateProcess be used to InvokeCommand?

49 views Asked by At

I've added a handler for the context menu in explorer to show items conditionally. My question is now when it comes time to InvokeCommand should I use ShellExecute to run the .exe that needs to run, or should I use the CreateProcess()method?

Basically the way Windows would do it with static entries is what I'd like to duplicate.

TIA!!

0

There are 0 answers