Page 1 of 1

Converting from v4 to v6, MS C++, font error

Posted: Thu Dec 11, 2003 7:54 am
by 9078645
Hi,
I just upgrade from version 4 to 6. Using C++
Only one problem so fare, changeing fonts.

This example:
m_Chart1.Series(0).GetMarks().GetFont().SetName(pc8_faze_name);
m_Chart1.Series(0).GetMarks().GetFont().SetSize(u32_size);
:?:

Gets this error:
fxpie.obj : error LNK2001: unresolved external symbol "public: void __thiscall CTeeFont::SetSize(long)" (?SetSize@CTeeFont@@QAEXJ@Z)
fxpie.obj : error LNK2001: unresolved external symbol "public: void __thiscall CTeeFont::SetName(char const *)" (?SetName@CTeeFont@@QAEXPBD@Z)
fxchart32.dll : fatal error LNK1120: 2 unresolved externals

Posted: Thu Dec 11, 2003 9:01 am
by Marc
Hello,

I've had a look at this upgrading a VC++ project made with a prior version of TeeChart. It seems the problem lies with the upgrade tool, I'll make a note for us to fix the problem for the next release.

To manually resolve the problem, go to the 'FileView' section of your project and select and add:

1. TeeFont.cpp file to the "Source Files" section
2. TeeFont.h to file the "Header Files" section

The files should be located in the main project folder.

Regards!
Marc Meumann
Steema Support