Page 1 of 1

Registering teechart7.ocx before running for first time?

Posted: Wed Mar 21, 2007 10:04 pm
by 9532498
I've built an application using TChart pro version 7 ActiveX components in Visual C++ 6.0. Do I need to register the teechart7.ocx component on a machine where the app will be only run (no development on that machine)

regsvr32.exe teechart7.ocx?

Or is this operation needed only for development work?

The application failed trying to create the TChart in the following line of code
mChart->Create(....)

The window handle is NULL.

Posted: Thu Mar 22, 2007 8:14 am
by narcis
Hi nbp,

Yes, the machine where the application runs will need TeeChart to be installed on it. Please read Tutorial 18 - TeeChart runtime installation requirements for the different options available. You'll find the tutorials at TeeChart's program group.