Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void Main()
- {
- AppDomain.CurrentDomain.AssemblyResolve += (sender, arg) =>
- {
- if (arg.Name.StartsWith("AxInterop.AXVLC.dll"))
- return Assembly.Load(Properties.Resources.AxInterop_AXVLC);
- return null;
- };
- AppDomain.CurrentDomain.AssemblyResolve += (sender, arg) =>
- {
- if (arg.Name.StartsWith("AxInterop.WMPLib.dll"))
- return Assembly.Load(Properties.Resources.AxInterop_WMPLib);
- return null;
- };
- AppDomain.CurrentDomain.AssemblyResolve += (sender, arg) =>
- {
- if (arg.Name.StartsWith("Interop.AXVLC.dll"))
- return Assembly.Load(Properties.Resources.Interop_AXVLC);
- return null;
- };
- AppDomain.CurrentDomain.AssemblyResolve += (sender, arg) =>
- {
- if (arg.Name.StartsWith("Interop.WMPLib.dll"))
- return Assembly.Load(Properties.Resources.Interop_WMPLib);
- return null;
- };
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new frmTranscriptor());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement