Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX control not loading

Status
Not open for further replies.

ekw1

Programmer
Sep 14, 2007
1
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top