[Mono-dev] Deploying on windows using mkbundle
    Jonathan Chambers 
    joncham at gmail.com
       
    Thu Oct 16 18:47:04 EDT 2008
    
    
  
Hello,     If you need that environment variable set for you process, you
can set it at startup of you application. So, make one of the first things
you do in your app:
Environment.SetEnvironmentVariable("GST_PLUGIN_PATH",
"../lib/gstreamer-0.10")
This will be picked up by the current process, if I understand what you are
trying to do.
Thanks,
Jonathan
2008/10/16 Andoni Morales <ylatuya at gmail.com>
> Hi,
>
> I've ported my application to windows and now I'm trying to deploy it on
> this platfrom using mkbundle. My app runs with the executable generated by
> mkbundle but I need to set/hardcode an environmental variable
> (GST_PLUGIN_PATH=../lib/gstreamer-0.10), this way I don't have to call the
> executable  from a .bat file.
> I think the best way is hardcoding it in the "host.c" file generated by
> mkbundle.
> I'm not used to program on windows and I don't witch is the default
> behaviour for this kind of problem.
> Thanks
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081016/27552f06/attachment.html 
    
    
More information about the Mono-devel-list
mailing list