Project

General

Profile

After you pass argc and argv to WRun, is it possible to query the command line args?

Added by Peter-Frank Spierenburg about 9 years ago

I would like to pass command line args to my wt application. Is there some way that I can get them after passing argc/argv to WRun?


Replies (1)

RE: After you pass argc and argv to WRun, is it possible to query the command line args? - Added by Koen Deforche about 9 years ago

Hey, no, Wt does not provide them (back). You'll need to pass them also to your application-creator function (using e.g. using std::bind()).

    (1-1/1)