Jump to content
Software FX Community

Chart FX for Delphi 6.0


Software FX
 Share

Recommended Posts

Can someone please post a set of steps needed to get Delphi 6 to work

with ChartFX? I've read all the applicable posts here(some of them were not

very

clear) and tried everything and still get invalid variant operation. I have

D6 Update Pack 1

and have downloaded the modified ChartFXLib.PAS.

Regards,

Mikhail Khilkov

Senior Software Engineer

North Coast Logic Inc.

mkhilkov@nclogic.com

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:3zIVHOOqBHA.2652@webserver1.softwarefx.com...

> A modified ChartFXLib.PAS has been posted in our support site. This file

was

> manually modifies to workaround the Delphi 6 Type Library importer bugs.

>

> To obtain this file simply go to our support site and search the KB for

> article Q1382067

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

1) Import Chart FX ActiveX into a new package as you would normally do.

2) Close Delphi

3) Search for ChartFXLib_TLB.PAS, you should find this file under the

Imports folder.

4) Replace it with the modified version.

5) Search for ChartFXLib_TLB.dcu and delete it.

6) Open Delphi

7) Open the recently created package as a project and re-compile it (hit the

compile button).

8) Open your project or create a new one and re-compile.

--

FP

Software FX, Inc.

Link to comment
Share on other sites

Thanks for the reply. I followed the steps, but I still get the error :(

Is there anything else I should look at or check? I'm running out of ideas.

Mikhail Khilkov

Senior Software Engineer

North Coast Logic Inc.

mkhilkov@nclogic.com

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:56Mok3nqBHA.2644@webserver1.softwarefx.com...

> 1) Import Chart FX ActiveX into a new package as you would normally do.

> 2) Close Delphi

> 3) Search for ChartFXLib_TLB.PAS, you should find this file under the

> Imports folder.

> 4) Replace it with the modified version.

> 5) Search for ChartFXLib_TLB.dcu and delete it.

> 6) Open Delphi

> 7) Open the recently created package as a project and re-compile it (hit

the

> compile button).

> 8) Open your project or create a new one and re-compile.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Are you sure you have Update Pack 1 running, please check your About box.

Even without replacing ChartFXLib._TLB.PAS, after update pack 1 you should

not get the "Invalid Variant" error, as a matter of fact you can drop a

chart in a form, run it and everything seems fine. After Update Pack 1, you

don't get a crash anymore but some properties don't work hence the need of

replacing this file.

I don't know why you are not getting the same result we are but I have two

ideas, of course these are just guesses as we don't have Delphi's code.

1) We have Delphi Enterprise, maybe the Update Pack for other versions

doesn't fix the problem

2) You still have somehow a reference to the older Chart FX, try removing

all files in the Borland folder that are named ChartFX* or CFX*

--

FP

Software FX, Inc.

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...