I'm writing a video player. When you open it you can browse for the video file to open via an open file dialog. The string I get with that I send it to the function that has the fopen. It works.
Also, if I comment the open file dialog and get the file path via parameters, it works.
However, if I use "Open With..." from Windows, and send the path I get from the parameters (I checked, it's the correct path), the fopen fails. Why is that?