Hi,
I want to ask how to open/display a file like we double click to this file in windows. Not like read/open file such as fread or ifstream...
Thank you.
Printable View
Hi,
I want to ask how to open/display a file like we double click to this file in windows. Not like read/open file such as fread or ifstream...
Thank you.
Have a look at MSDN topic CWinApp::EnableShellOpen
Okie, thanks
@..Victor Sir..
Can you explain me why did you suggest to register file type before ShellExecute().
We can easily use ShellExecute() to run any program or others.
Okay you are suggesting the registration for unknown file types. I got it. And yes thanks for those links..