How do I go about automatically opening a file that was passed on
the command line?
to write some code in the Application InitInstance.
Maybe there's a better way to accomplish what I'm trying to do?
My main problem is that I can't
seem to make any calls from my
application InitInstance to any
functions from my Document, View, or
MainFrame classes (something about
illegal call to static member
function). My handler for OnFileOpen
(when it is selected from the menu)
sits in my document class. Ideally,
I would like to get this routine
called somehow upon startup of the
Is there a good place to initially
handle command line processing?
Maybe in OnInitialUpdate for my