How to pass paramenters to a MFC application when called in commandlin - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How to pass paramenters to a MFC application when called in commandlin

johnjitujohnjitu Posts: 23Member
Hi,

I am writing an MFC program. I need to load the program from ocmmandline and pass some parameters to it.
I have tried with m_lpCmdLine[]but it will takes only character.

could anyone tell me how to do it? Appreciate if some lines of sample code can be provided.

thank you very much

Sign In or Register to comment.