I have tried to run the DXEngine examples (PictureBoxSample) but it crashes at the statement with the error below:
_dxScene = _dxDevice.CreateDXSceneWithSwapChain(pictureBox1.Handle, pictureBox1.Width, pictureBox1.Height, preferedMultisampleCount: 4);
A first chance exception of type 'SharpDX.SharpDXException' occurred in SharpDX.dll
A first chance exception of type 'System.NullReferenceException' occurred in Ab3d.DXEngine.WinForms.Sample.exe
Thanks in advance.
_dxScene = _dxDevice.CreateDXSceneWithSwapChain(pictureBox1.Handle, pictureBox1.Width, pictureBox1.Height, preferedMultisampleCount: 4);
A first chance exception of type 'SharpDX.SharpDXException' occurred in SharpDX.dll
A first chance exception of type 'System.NullReferenceException' occurred in Ab3d.DXEngine.WinForms.Sample.exe
Thanks in advance.

