1. Download the Teechart installation file
Link: https://pan.baidu.com/s/1Glnh8RTZ5bdqIEUycHBW6g Extraction code: qyi3
2. Install Teechart
Unzip the downloaded file and install it. The installation directory can be anywhere.
3.pojie file
Register the control. Find the software installation directory, the installation directory TeeChart5.ocx
files are copied to C:\Windows\SysWOW64
the directory, and run with administrator privileges in the directory cmd.exe
, and then execute the instruction " regsvr32 TeeChart5.ocx ." When the operating system pops up the prompt box "DllRegisterServer has succeeded in TeeChart5.ocx", it indicates that the control is successfully registered.
4. Use TeeChart control in MFC project
Right click -> Insert ActiveX control
Choose TeeChart Pro Activex controlv5
Insert two lines into the control, double-click the control, and then click Add.
Now the control is inserted and added.