I used the Active-X Wizard to build the CD (=ChartDirector) Classes.
I have modified the return values to return the correct element of the
return array. (eg. y := x xyChart: 250 height: 250. Element 6 of the
returned array returns the CD_XYChart object.
If I comment out lines 3-8 I get a very nice test.png with all the
text, just without data.
The error I get with lines 3-8 is in the makeChart method in the last
line: a HRESULTError('HRESULT Error: Automation error (FACILITY_RPC)').
Any help would be gratly appreciated. Thanks
It works almost perfectly - I am just unable to pass my data
(=SAFEARRAY in line 3 ff.)
Yes, I suggest you use TeeChart.
The Dolphin Active-X component wizard wraps TeeChart very nice.
There is no need of use SAFEARRAYS with the TeeChart wrapper. I strongly
recommend you.