The phrase "no matter how I try to set the Environment variable" is not as useful as actually showing what you've tried. As you saw a couple of posts above yours, there's an example of a working environment variable.Setting the VLC_PLUGIN_PATH environment variable doesn't seem to be working. libvlc_new always returns null unless I put the plugins directory in the directory with the executable, no matter how I try to set the Environment variable. I am using 2.0.1, I tried 2.1 and the same thing happened, I got the No Plugins Found! error.
Code: Select all
putenv("VLC_PLUGIN_PATH=C:\\Program Files\\VideoLAN\\VLC\\plugins");
Code: Select all
System.Environment.SetEnvironmentVariable ("VLC_PLUGIN_PATH", "C:\\Program Files\\VideoLAN\\VLC\\plugins");
Return to “Development around libVLC”
Users browsing this forum: No registered users and 13 guests