[STAThread]
static void Main(string[] args)
{
int seed = 0;
if (args.Length > 0)
int.TryParse(args[0], out seed);
Framework.Run(new ShipBehavior(), new World(), seed); // exception
}
EXCEPTION: "An unhandled exception of type 'SharpDX.SharpDXException' occurred in SharpDX.Direct3D9.dll"
我正在使用包含此Framework类和VRAGE
函数的TestingTaskFramework
库和Framework.Run()
dll文件。