From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Visual C++ 6.0 and component works generates acces violation in GDI.EXE when I use Graph2D ocx.



m_graph.ClearData() generates this bug?
m_graph.GetPlots().GetCount() generates an error when I built my application? definition of thr class ?
0 Kudos
Message 1 of 2
(4,212 Views)
I couldn't reproduce either of these problems. For the first problem, this may be because of a known problem on Windows 9X. Some first chance exceptions (access violations) are generated in gdi32.dll when using some features of our ActiveX controls. This is actually a mishandling of the GDI error reporting in Win 9X and happens with most ActiveX controls. The good news is, it doesn't effect the performance of the control since it is just a bad error report in debug mode. However, those exceptions usually appear in gdi32.dll not GDI.exe so I'm not sure it is the same.

As for the second problem, I couldn't reproduce it. I put this line in a project and had no problems building.

Best Regards,

Chris Matthews
Measurement Studio Support Manager
0 Kudos
Message 2 of 2
(4,212 Views)