About Store Forum Documentation Contact



Post Reply 
Command line arguments
Author Message
MrPi Offline
Member

Post: #1
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
Find all posts by this user Quote this message in a reply
laugan Offline
Member

Post: #2
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
Find all posts by this user Quote this message in a reply
MrPi Offline
Member

Post: #3
RE: Command line arguments
Excellent, that's what I needed.
Thank you!
08-08-2013 11:57 AM
Find all posts by this user Quote this message in a reply
Post Reply