diff --git a/Program.cs b/Program.cs index e6bb6c4..5a01882 100644 --- a/Program.cs +++ b/Program.cs @@ -16,7 +16,8 @@ public static int Main(string[] args) { Assembly asm = Assembly.Load("qw"); Type t = asm.GetType("QuickenWindow.Program"); MethodInfo m = t.GetMethod("Main", BindingFlags.NonPublic | BindingFlags.Static); - return (int)m.Invoke(null, null); + m.Invoke(null, null); + return 0; } catch (Exception ex) { MessageBox(IntPtr.Zero, ex.ToString(), "QWLaunch error", 0); return 1;