P
Peter Oliphant
If I use 'Open With...' to open a file (menu option) and choose a program I
wrote, how do I write a MS C++ 2005 Express application to respond to this?
I tried doing this with a program of mine and I got a system error message
(crash). I would assume the filename would be one of the main( ) arguments,
but I'm just guessing. And not sure why it crashed. My program runs fine
ordinarily, and I would have thought trying to open a file with this way
should only run the program since it has no logic to deal with the argument
list. That is, why does it crash when doing this and not ignore the file and
just run?
Thanks in advance for any info!
[==P==]
wrote, how do I write a MS C++ 2005 Express application to respond to this?
I tried doing this with a program of mine and I got a system error message
(crash). I would assume the filename would be one of the main( ) arguments,
but I'm just guessing. And not sure why it crashed. My program runs fine
ordinarily, and I would have thought trying to open a file with this way
should only run the program since it has no logic to deal with the argument
list. That is, why does it crash when doing this and not ignore the file and
just run?
Thanks in advance for any info!
[==P==]