User (Legacy) Posted August 31, 1999 Report Share Posted August 31, 1999 > 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.