Jump to content
Software FX Community
gsguillot

VS2010 & 6.2 COM Integration

Recommended Posts

'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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...