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

TeeChart for ActiveX, COM and ASP
Post Reply
janjons
Newbie
Newbie
Posts: 11
Joined: Fri Nov 15, 2002 12:00 am
Location: sweden
Contact:

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

Post by janjons » Thu Dec 11, 2003 7:54 am

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

Marc
Site Admin
Site Admin
Posts: 1227
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Post by Marc » Thu Dec 11, 2003 9:01 am

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

Post Reply