accepting files in C/C++
Problem Statement: When a Html file is double clicked,Windows starts Firefox and passes the file to it.
I have created a tiny html reader and set it as my default browser.
But when any html file is double clicked,the reader pops open,BLANK,and an error pops up saying:[My fault Error,rectified thanks to spyware]"There was a problem sending the command to the program"
How do I tell the Prog. to accept the file?
I prefer C to C++.
Thanks in advance for suggestions/answers.:)
I'm not entirely familiar with how this works, but iirc this error is caused by the DDE connection failing. DDE is a windows feature it uses to see if the program is already running to avoid popping up two separate instances, and I think your program must have support for it or else it will fail. DDE can be turned off, however I don't have a clue how.
stealth- wrote: I'm not entirely familiar with how this works, but iirc this error is caused by the DDE connection failing. DDE is a windows feature it uses to see if the program is already running to avoid popping up two separate instances, and I think your program must have support for it or else it will fail. DDE can be turned off, however I don't have a clue how.
If you google things, at least google properly: http://bit.ly/6IFUEB
spyware wrote: If you google things, at least google properly: http://bit.ly/6IFUEB
Well, I generally try not to just google things for other people. I'm not a human google proxy. >.>