internet explorer - Passing configurations to IE addon -
i have ie addon written in c++ using bho want use log4net introduce logging addon. don't intend have ui (dropdown etc) plugin. therefore, enable, disable , set log levels, options have? 2 options thought include getting configs file (with caveats when running in protected mode). second option read somewhere, load url, through can pass arguments. eg, read first url on ie startup , if matches particular string, use set arguments logging session (otherwise use default).
any other better option?
thanks!
another way store settings in registry. there caveats here protected mode, deterministic usable way turning logging on/off.
in protected mode ie map registry brunch here: hkey_current_user\software\microsoft\internetexplorer\internetregistry please note, such redirecting work hkcu, not hklm
Comments
Post a Comment