Many a times it is required to run some daemon executable in the background which in turn starts some other exe's. The code snippet in this article can be used in such a scenario and demonstrates on how to pass the arguments to the exe being launched. On receiving this argument the exe can change its behavior according to the argument received.
--Kamal 18:43, 3 September 2009 (UTC)
How do you access the parameters from the launched application? My 3rd edition, view-based program doesn't get the parameters in CCommandLineArguments. Fredrik Eldh 15:12, 10 August 2007 (UTC)
Since the above post is of 2007, developers facing the same problem might like to refer to this [1] thread.
--Kamal 18:43, 3 September 2009 (UTC)