I have two video devices with different pixelformat, two monitors.
and each device connected a different monitor.
video device 1: AMD Radeon R7 350X
video device 2 : Intel HD Graphics 530(included in CPU)
My program executes on monitor1 and creates a new chart dynamically on monotor1 successful.
But, my program throws 'exception' when creates a new chart dynamically on monotor2.
System.AccessViolationException[StackTrace]at Nevron.Interop.Win32.NGdi32.ChoosePixelFormat(IntPtr deviceContext, PIXELFORMATDESCRIPTOR& pixelFormatDescriptor)at Nevron.GraphicsGL.l1IlllI11I.SetupPixelFormat(IntPtr hDC, Int32 flags)