Hi all,
I've got an MFC project that was originally developed under VC++6, and it used to set up file associations perfectly under XP.
Now with the same program converted to VS2005 and running under Windows 7, it is exhibiting strange behaviour: when you double-click on a file, nothing happens for a while then a message box comes up saying "There was a problem sending a command to the program." The program eventually starts up, but it doesn't load the file. If I then double-click on a file, the running program loads it correctly.
I've created a new C++ MDI project with VS2005, and checked that my program adds the same Registry entries, and they are correct, and I've run out of ideas as to where the problem lies.
Any suggestions as to why double-clicking doesn't load the file into my program would be gratefully received!
Thanks!