123456789101112131415161718192021222324 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Reflection;
- using System.Threading.Tasks;
- namespace DotLoader
- {
- static class Program
- {
- /// <summary>
- /// The main entry point for the application.
- /// </summary>
- [STAThread]
- static void Main()
- {
- Environment.CurrentDirectory = @"Z:\dandanplay_11_5_2\dandanplay_11_5_2-x86";
- var mainAssembly = Assembly.LoadFile(@"Z:\dandanplay_11_5_2\dandanplay_11_5_2-x86\dandanplay.exe");
- var ep = mainAssembly.EntryPoint;
- ep.Invoke(null,null);
- }
- }
- }
|