I'm trying to add the NTGraph component to an existing project in MS Visual Studio .NET 2003. I can register the OCX and see it in the toolbox. And I can even drag it to my dialog and compile. But when I run my program and open the dialog where the component exists, the program crashes with this error:
Unhandled exception at 0x7c236c82 (mfc71d.dll) in program.exe: 0xC0000005: Access violation reading location 0x00f2007c.
This NTGraph component is from codeproject.com at I can compile and run the demo. In the demo, I can see the message "Loading NTGraph.ocx" in the Output window, but that message doesn't appear when I run my own program.
Can anyone tell me what I need to do? Am I missing a step? Thanks.
Unhandled exception at 0x7c236c82 (mfc71d.dll) in program.exe: 0xC0000005: Access violation reading location 0x00f2007c.
This NTGraph component is from codeproject.com at I can compile and run the demo. In the demo, I can see the message "Loading NTGraph.ocx" in the Output window, but that message doesn't appear when I run my own program.
Can anyone tell me what I need to do? Am I missing a step? Thanks.