Original Post
I''m working on an MDI-based editing program that will be the default program for several types of files.
If a file is opened, I can easily obtain this file information in the arguments passed to my program. Then the program simply opens the file (yeah yeah, we all know this)..
My problem is, if I try and open another file, it will spawn a new instance of the program, and the file will be opened in the new instance.
How can I have the original program accept all new files that try to be opened? Since it''s an MDI window, I of course want the file to be opened within it, not a whole new instance of the program.
Any help on this is appreciated.