Modifying VC++ 6.0 project for ActiveX control

TeeChart for ActiveX, COM and ASP
Post Reply
nbp
Newbie
Newbie
Posts: 83
Joined: Mon Sep 18, 2006 12:00 am

Modifying VC++ 6.0 project for ActiveX control

Post by nbp » Mon Mar 05, 2007 9:53 pm

I need to modify an existing VC++ 6.0 project to include an ActiveX control. What setting should I change in the Project file (.dsp)?

I'm using as is and get an error in InitControlContainer(). Basically the app can't display a TChart object created at design time or created dynamically. HELP!

When I create a new project from scratch and check "Include ActiveX control" in the new project menu, everything works fine.

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Mar 12, 2007 9:22 am

Hi,

the .dsp file should include the references to the .h files and CLSIDs of the TeeChart components used (you could compare the .dsp file with a clean project which used the TeeChart components).
However you should be able to add a TChart component into a existing project without problems. Which error are you getting ?

Post Reply