User (Legacy) Posted March 1, 2003 Report Share Posted March 1, 2003 Hello, I have read Q1371016. Using Annotation Objects in VC++ and seen the example for how to load the Annotation Extension. However, the same kind of approach doesnt seem to work for the Financial Extension. When i put "#import "Cfx4FE.dll" no_namespace no_implementation" in StdAfx.h and "#import "Cfx4FE.dll" no_namespace implementation_only " in StdAfx.cpp, i get the following compiler errors: z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4032.tlh(328) : error C2011: 'CfxGallery' : 'enum' type redefinition z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4FE.tlh(1711) : see declaration of 'CfxGallery' z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4032.tlh(354) : error C2011: 'CfxType' : 'enum' type redefinition z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4FE.tlh(1667) : see declaration of 'CfxType' z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4032.tlh(434) : error C2011: 'CfxLineStyle' : 'enum' type redefinition z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4FE.tlh(599) : see declaration of 'CfxLineStyle' z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4032.tlh(486) : error C2011: 'CfxPointType' : 'enum' type redefinition z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4FE.tlh(1695) : see declaration of 'CfxPointType' z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4032.tlh(560) : error C2011: 'CfxAlign' : 'enum' type redefinition z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4FE.tlh(947) : see declaration of 'CfxAlign' z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4032.tlh(576) : error C2011: 'CfxAxisIndex' : 'enum' type redefinition z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4FE.tlh(938) : see declaration of 'CfxAxisIndex' z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4032.tlh(906) : error C2011: 'CfxAxisStyle' : 'enum' type redefinition z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4FE.tlh(609) : see declaration of 'CfxAxisStyle' z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4032.tlh(928) : error C2011: 'CfxTickStyle' : 'enum' type redefinition z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4FE.tlh(631) : see declaration of 'CfxTickStyle' z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4032.tlh(4120) : error C3121: cannot change GUID for class 'GeneralPage' z:\Visual Studio Projects\ChartFX MFC\Release\Cfx4FE.tlh(117) : see declaration of 'GeneralPage' Clearly, VC++ doesnt like importing both Cfx4032.ocx and Cfx4FE.dll. Can someone pls post the correct way to load the financial extension in C++, and any other quirks that make Financial Extensions different from Q1371016. Using Annotation Objects in VC++? Tks vm, Tom thomas_barket@yahoo.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.