VC++ Headers Need Updating

TeeChart for ActiveX, COM and ASP
Post Reply
pdm1999
Newbie
Newbie
Posts: 5
Joined: Fri Jul 13, 2007 12:00 am

VC++ Headers Need Updating

Post by pdm1999 » Mon Jul 23, 2007 1:55 pm

There are three VC++ header files that need "pragma once" added to the top of them in order to eliminate redefinition errors. Most of the header files have "pragma once" in them but it seems the following were missed:

strings.h
canvas.h
pen.h
brush.h

Without the "pragma once" you get redefinition errors. Once you add it into those 4 header files everything works fine.

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Jul 23, 2007 2:30 pm

Hi,

which TeeChart ActiveX version are you using ?

pdm1999
Newbie
Newbie
Posts: 5
Joined: Fri Jul 13, 2007 12:00 am

Post by pdm1999 » Mon Jul 23, 2007 2:38 pm

The problem is in ActiveX version 7 and version 8 (which I just installed).

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Fri Jul 27, 2007 3:45 pm

Hi,

yes, you're correct, I've added it for all the header files which lack the def. for the next installer.
Thanks for the report.

Post Reply