Jump to content
Software FX Community

Re: Problem: "Invalid floating point operation"


User (Legacy)

Recommended Posts

> How is this "query" linked to the chart ? 

Hi Frank,

query->Active = true;

Varian v2 = (long) query->Handle;

ChartFX1->GetExternalData("CfxData.BDE",v2);

ChartFX1->DataEditorObj->SizeToFit();

Both, query and code work very well if I execute it from a TForm within

one EXE project. But, if I try to execute it from a TForm within one DLL

I get that error, I must even call the CoInitialize function in order to

see the ChartFX into the TForm. Why calling that function (Coinitialize)

is unnecessary when the component is living within an EXE?

The DLL is dynamic loaded, and in order to avoid Windows displays two

applications in the taskbar I change the DLL's TApplication for the

EXE's TApplication.

Thanks a lot,

Marco

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...