static void Main(string[] args) { Configuration.EnableObjectTracking = true; var app = new MirrorDemo(Process.GetCurrentProcess().Handle); if (!app.Init()) { return; } app.Run(); }