Jump to content
Software FX Community

Problems for importing CFX4032.DLL and CFXFE.DLL (VC++ without MFC)


User (Legacy)
 Share

Recommended Posts

I have been using the Chart FX 98 for making some samples (VC++ without

MFC).

Now I am trying to add the financial extension to these samples, but when I

have tried to compile these ones the compiler generates a lot of compilation

errors like this:

m:\visual trader\visual trader snaps\iberia charts\support\iberia charts

gallery\program\debug\cfx4fe.tlh(43) : error C2371: 'CfxLineStyle' :

redefinition; different basic types m:\visual trader\visual trader

snaps\iberia charts\support\iberia charts

gallery\program\debug\cfx4032.tlh(1678) : see declaration of 'CfxLineStyle'

Into the stdafx.cpp and sdafx files I have added the following lines:

// Stdafx.cpp

#import "sfxbar.dll" no_namespace implementation_only

#import "Cfx4032.dll" no_namespace implementation_only

#import "Cfx4FE.dll" no_namespace implementation_only

// Stdafx.h

#import "sfxbar.dll" no_namespace no_implementation

#import "Cfx4032.dll" no_namespace no_implementation

#import "Cfx4FE.dll" no_namespace no_implementation

How I can fix this compilation problem?.

Thanks in advance.

Jose Pena.

Link to comment
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.

 Share

×
×
  • Create New...