Profile Picture

two video devices with different pixelformat

Posted By cho seongho 4 Years Ago
Author
Message
cho seongho
Problem Posted 4 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 15, Visits: 73
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)






Similar Topics


Reading This Topic