I need to have possibility to override locale env and
internationalization  by a program argument. I use a gettext-like
equivalent (using modified code from
http://www.number-none.com/blow/code/mo_file/index.html) but it brings a
problem because fluid generates menus as static struct arrays - which
are initialized before main() starts.
I know that this is fltk off-topic on fltk maillist, probably
platform/compiled dependent but googling I did not find a solution so I
am asking here:

Is there possibility to access program arguments (eg in constructors of
static instances) before main() starts?
I use gcc on win(mingw)/linux/mac platforms.

Thanks,
Roman
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to