Jump to content
Software FX Community
gsguillot

VS2010 & 6.2 COM Integration

Recommended Posts

gsguillot    0

'lo everyone.  Moving from a very old version of ChartFX (ChartFX 98 believe it or not) and trying to get 6.2 working within VS2010.  For ChartFX98, in the stdafx.h/cpp I needed the following lines ::

 

stdafx.h

 #import "sfxbar.dll" no_namespace no_implementation

 #import "cfx4032.ocx" no_namespace no_implementation

 

stdafx.cpp

 #import "sfxbar.dll" no_namespace implementation_only

 #import "cfx4032.ocx" no_namespace implementation_only

 

For 6.2 I am not sure what needs to be changed.  Pointers in the right direction?  I have been looking through the documentation, but nothing seems to address getting it hooked up for C++ & COM.

Thanks in advance for all of your time, help, & ideas....

-Scott.

Share this post


Link to post
Share on other sites
gsguillot    0

Managed to get ChartFX 98 working in VS2010. This article helped "Q1381002. Using Chart FX 98 in VC++ without MFC". Seems I just needed a different way to instantiate the graphing control. Go figure....

-Scott.

'lo everyone.  Moving from a very old version of ChartFX (ChartFX 98 believe it or not) and trying to get 6.2 working within VS2010.  For ChartFX98, in the stdafx.h/cpp I needed the following lines ::

 

stdafx.h

 #import "sfxbar.dll" no_namespace no_implementation

 #import "cfx4032.ocx" no_namespace no_implementation

 

stdafx.cpp

 #import "sfxbar.dll" no_namespace implementation_only

 #import "cfx4032.ocx" no_namespace implementation_only

 

For 6.2 I am not sure what needs to be changed.  Pointers in the right direction?  I have been looking through the documentation, but nothing seems to address getting it hooked up for C++ & COM.

Thanks in advance for all of your time, help, & ideas....

-Scott.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×