Command Line Parsing
Posted on 2004-11-09
I added a command line to my MFC SDI project and now it bails with an error. I traced the problem to the following:
// Parse command line for standard shell commands, DDE, file open
// Dispatch commands specified on the command line
It appears that when I specify a command line ProcessShellCommand can't handle it. It also seems that when this method succeeds my main frame is created. When it fails the main frame isn't created and the application bails. I'm not sure what I need to do to get around this. Is it possible that what I think is a command line is actually something else?