Profile Picture

Chart.Enable3D AccessViolation

Posted By Lou Laskey 14 Years Ago
Author
Message
Lou Laskey
Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)

Group: Forum Members
Last Active: 9 Years Ago
Posts: 24, Visits: 2

Language: C#
Environment: MSVS 2008
OS: Windows 7

I am getting an AccessViolation in a program that was working until I moved the project folder.

This happens at the point that I try to set Enable3D = true. If I comment that line out the program runs but without the 3D.

Here is the info:

"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

Stack Trace

at Nevron.Interop.Win32.NGdi32.ChoosePixelFormat(IntPtr deviceContext, PIXELFORMATDESCRIPTOR& pixelFormatDescriptor)
at Nevron.GraphicsGL.l1lI11llI.SetupPixelFormat(IntPtr hDC, Int32 flags)
at Nevron.GraphicsGL.GLBitmapRenderSurface..ctor(l1II11llI1 settings, NSize size, NResolution resolution)
at Nevron.Chart.WinForm.NControlView.CreateRenderSurface()
at Nevron.Chart.View.NView.CreateContext()
at Nevron.Chart.WinForm.NControlView.CreateContext()
at Nevron.Chart.View.NView.OnSettingsChanged()
at Nevron.Chart.NDocument.OnSettingsChanged()
at Nevron.Chart.NChart.set_Enable3D(Boolean value)
................

Any help would be appreciated.

Lou

bob milanov
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)

Group: Forum Members
Last Active: 6 Months Ago
Posts: 153, Visits: 11

Hi Lou,

Most likely you need to update the video board drivers. Check with the manufacturer of the video board for updated driver version.

Let me know if the problem persists...

Best regards,
Bob



Lou Laskey
Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)

Group: Forum Members
Last Active: 9 Years Ago
Posts: 24, Visits: 2

Bob,

Turns out my video driver was the latest (ATI Radeon HD 4350 driver dated 10-MAR-2010).

In a desperate move I rolled back the driver to one dated 15-MAY-2009 and all has been working fine.

Lou



Similar Topics


Reading This Topic