I have a FireBreath plugin source that somebody wrote that I'm trying to make compatible with Internet Explorer. In this plugin, .flv
video is downloaded and then FFMPEG is executed within the Windows CMD.EXE to convert the .flv
to another media format. The command is run from CreateProcess(...)
.
My problem is that the CreateProcess
command always returns an error code 5, which I suppose is Access Denied. The command works on the command line (FFMPEG does the conversion correctly), but not from the plugin.
Note, that I have gotten the AppData path with:
string appDataPath = FB::System::getLocalAppDataPath("My Company Name LLC")
Is there a registry key somewhere that must be added to "initialize" this path?
Assuming it doesn't work on Chrome/Firefox as well.
LoadLibrary
- I think this could provide better info of whether or not the path is correct.If IE is the only browser you are having problems with, read Understanding and Working in Protected Mode Internet Explorer.
See also FireBreath Tips and Tricks.