01-19-2010 10:52 AM
My program has the ability to save and open a text file with a custom extension. How do I make the system in which the program is being installed to recognize this file to open the program, AND how to I gather the input file in my program and load it.
Thanks
Solved! Go to Solution.
01-19-2010 12:31 PM
Ok I have found on a different thread how to setup/register the file path association in the classes root. What I don't understand is how my program will know what the input file is. For example, the reg setting is C:/.../MyProgram.exe %1
When my program loads, is the %1 in the argc/argv part of the main thread? And if so, how do I debug/test this?
Thanks
01-19-2010 01:13 PM
And now I figured out how to debug by going to Run and changing the 'Command Line' arguments there.
So solved.