> when calling the form containing the chart I'm getting 'CoInitialise has
not
> been called' error message.
> I have deleted it and dropped it back on the form but still the same
error.
> I'm sure I've seen this before and how to fix but just can't remember. Can
> someone please help!!
I think your app needs to initialise com
i usually do this in the .dpr (see below)
-ns
program Project1;
uses
comobj, // NOTE
Forms,
unit1 in 'unit1.pas' {Form1};
{$R *.RES}
begin
Application.Initialize;
OleCheck(CoInitialize(nil)); // NOTE
Application.CreateForm(TForm1, Form1);
Application.Run;
end.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"