Import chartfx into Delphi XE2

Among the delphi applications I work with, the activex chartfx control is used. I understand that softwarefx stopped supporting delphi some time ago, but we are moving on to 64-bit builds, and this component is our main obstacle. We could convert all our charts to TeeCharts if necessary, but that would be a lot of changes.

I got a 32-bit chartfx component for installation and compilation in xe2, but am not sure about the next step. Support provided me with 64-bit DLLs.

So, I have 3 questions:

  • has anyone successfully moved chartfx to a 64-bit delphi environment or
  • Can you direct me to instructions on creating a component that is 32 bits at design time, but can be 32-bit or 64-bit for compilation?
  • Is there a better way to do this?

edit: loaded the delphi code of the chartfx62 client server at http://www.filefactory.com/file/ce61229/n/Cfx62ClientServer_TLB.pas

+4
source share
1 answer

You need to get 64-bit ActiveX DLL files to work with the 64-bit version. Designtime Delphi is still always 32 bits.

If ChartFX does not support the 64-bit version, you are stuck. After reviewing the website, it seems that the supplier has not yet installed the 64-bit ChartFX ActiveX and is requesting feedback on how much demand there is.

I would recommend switching to TeeChart , which is Delphi's native code and has a very strong tradition on Delphi. You can be sure of future support for other platforms as they become available.

+4
source

All Articles