CCommandLineInfo cmdInfo;
-
I have two modules. 1. is a calibration modul, in which I am doing calibration of the system(that is doing some setting) and storing those values to .INI file. Now, 2. in second module I want to initialise this module or read some values from that .INI file which is set by first module. I have some Idea that I need to use CCommandLineInfo cmdInfo; ParseCommandLine(cmdInfo); but how to pass values to above class? can any one please help me out. "or" give any sample code. Dinesh Salvi
-
I have two modules. 1. is a calibration modul, in which I am doing calibration of the system(that is doing some setting) and storing those values to .INI file. Now, 2. in second module I want to initialise this module or read some values from that .INI file which is set by first module. I have some Idea that I need to use CCommandLineInfo cmdInfo; ParseCommandLine(cmdInfo); but how to pass values to above class? can any one please help me out. "or" give any sample code. Dinesh Salvi
Unless you are against using
__argc
and__argv
, I would suggest Paul DiLascia's CCommandLineInfoEx class.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow