On Fri, Mar 20, 2009 at 6:21 PM, lostgallifreyan
<lostgallifre...@gmail.com> wrote:
> Is there a way to get OS environment variables, other than to redirect the 
> output of command SET to file, then parse the file to get them? And if so, is 
> there a way that is as widely compatible with other platforms as wxLua is?
>

Use these functions:

http://docs.wxwidgets.org/stable/wx_environfunctions.html#environfunctions

wxGetenv()
wxGetEnv()
wxSetEnv()
wxUnsetEnv()

Regards,
    John

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to