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
|