title: C++ Access to command line arguments outside main?
body: <p>I have a couple command line apps that both end up calling into com objects. Rather than adding new interface to these com objects, can they access the parameters passed from the command line?</p>
  
  <p>Edit: Sort of how I can call GetModuleFileName to get the file name. Im wondering if there is an equivalent method to get the args.</p>