MrPi
Member
|
Command line arguments
Hi everyone,
is there a way to access the command line arguments which are passed to the main / WinMain functions of the application? Those are defined in engine space.
I would like to pass arguments to my Esenthel based server application and evaluate them inside.
Thanks!
|
|
08-08-2013 11:19 AM |
|
laugan
Member
|
RE: Command line arguments
I don't know about EE 2.0, but in 1.0 it can be made by App.cmdLine()
Code:
CChar8* cmdLine ( ) {return _cmd_line ;} // get pointer to received Command Line Parameters
|
|
08-08-2013 11:28 AM |
|
MrPi
Member
|
RE: Command line arguments
Excellent, that's what I needed.
Thank you!
|
|
08-08-2013 11:57 AM |
|