I read MSDN and tried this line of code
ShellExecute(handle, "open", "fully_qualified_path_to_file", NULL, NULL, SW_SHOWNORMAL);
It works fine, but I need some more functionality. I wrote an app, which makes output in file with .bin extension. On my OS .bin files doesn't associated with any specific program. MSDN says that I can associate all .bin files with my app with programming, but this case is unacceptable for me.
How I can add this line of code to open specific file with specific program? p.s. I tried to put my application path in 4th argument as shown in MSDN, smith like that,
C:\\Application.exe" "%1"
but it didn't work.