Page 1 of 1

VC++ Headers Need Updating

Posted: Mon Jul 23, 2007 1:55 pm
by 9536092
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.

Posted: Mon Jul 23, 2007 2:30 pm
by Pep
Hi,

which TeeChart ActiveX version are you using ?

Posted: Mon Jul 23, 2007 2:38 pm
by 9536092
The problem is in ActiveX version 7 and version 8 (which I just installed).

Posted: Fri Jul 27, 2007 3:45 pm
by Pep
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.