Hello!
I need to open jpg image with IrfanView using ShellExecute (Iam writing presentation in C++).
Usually to open file with editor i do so-
ShellExecute(m_hWnd,0,pathToEditor,pathToFile,0,SW _SHOWMAXIMIZED);
for example
pathToEditor is "D:\\IrfanView\\IrfanView.exe"
pathToFile is "C:\\1.jpg"
With other applications it works, with Irfan it doesnt work.
What should i try?
Is there command line option to open file?
I need to open jpg image with IrfanView using ShellExecute (Iam writing presentation in C++).
Usually to open file with editor i do so-
ShellExecute(m_hWnd,0,pathToEditor,pathToFile,0,SW _SHOWMAXIMIZED);
for example
pathToEditor is "D:\\IrfanView\\IrfanView.exe"
pathToFile is "C:\\1.jpg"
With other applications it works, with Irfan it doesnt work.
What should i try?
Is there command line option to open file?
Comment