TeeChart AX into LIB

TeeChart for ActiveX, COM and ASP
Post Reply
Aleksei
Newbie
Newbie
Posts: 6
Joined: Wed Jul 21, 2004 4:00 am

TeeChart AX into LIB

Post by Aleksei » Mon Jul 04, 2005 12:25 pm

Hi,

I tried TeeChart 6 AX component add to VC project. However, compiler give - axes.h(20) : error C2504: 'COleDispatchDriver' : base class undefined. This project is Lib !!! (In Exe-project all works successfully).
How make that all worked in Lib-project ?

Thanks in advance, Aleksei.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jul 05, 2005 7:52 am

Hi Aleksei,

To help you overcoming your problems could you please answer a couple of questions to help us identifying your possible problems?

Are you using VC++ 6.0 or VC++ 7.0 ? Which project type, exactly, are you using?

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Aleksei
Newbie
Newbie
Posts: 6
Joined: Wed Jul 21, 2004 4:00 am

Answer

Post by Aleksei » Tue Jul 05, 2005 8:19 am

I using VC++ 6.0. I created "Win32 Static Library" project.

Thanks, Aleksei

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Post by Christopher » Tue Jul 05, 2005 9:32 am

Hi Aleskei,

Did you check the following two options?
Pre-Compiled header
MFC support

What code do you use to create an instance of the TeeChart v7 ActiveX Control?

Many thanks,
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

Aleksei
Newbie
Newbie
Posts: 6
Joined: Wed Jul 21, 2004 4:00 am

Post by Aleksei » Tue Jul 05, 2005 11:35 am

"Pre-Compiled header" and
"MFC support" is checked.

Form including CTChart instance. This is some code correctly works in MFC (EXE) projects.

Thanks, Aleksei.

Post Reply