How to get runtime args from shared static this module ctor?

2012-01-09 Thread Andrej Mitrovic
I need to get the name of the executable but without using a string[] from main. I'm wrapping a 3rd party library that requires me to initialize it by calling an extern function to pass the executable name. However I don't want to force the user to pass args from main when constructing a class,

Re: How to get runtime args from shared static this module ctor?

2012-01-09 Thread Joshua Reusch
Am 09.01.2012 18:00, schrieb Andrej Mitrovic: I need to get the name of the executable but without using a string[] from main. I'm wrapping a 3rd party library that requires me to initialize it by calling an extern function to pass the executable name. However I don't want to force the user to

Re: How to get runtime args from shared static this module ctor?

2012-01-09 Thread Andrej Mitrovic
Sweeet, thanks Joshua! On 1/9/12, Joshua Reusch yos...@arkandos.de wrote: Am 09.01.2012 18:00, schrieb Andrej Mitrovic: I need to get the name of the executable but without using a string[] from main. I'm wrapping a 3rd party library that requires me to initialize it by calling an extern