Board index » cppbuilder » BCB5 - ActiveX (Variant vs TVariant) using ComponentWorks
Bent Christense
![]() CBuilder Developer |
Fri, 23 Aug 2002 03:00:00 GMT
BCB5 - ActiveX (Variant vs TVariant) using ComponentWorks
Hi, I am using National Instruments "ComponentWorks" which is an ActiveX The graph component has a method called PlotY which according to the PlotY( Variant yData, In the *ControlLib_OCX.h file, generated by the ActiveX import utility PlotY( TVariant yData, My initial fix to this, was to create a TVariant, to which I assigned TVariant varDispT(varDispArray); // Convert from Variant plotControl->PlotY( varDispT, 0, 1, true ); // Plot data Running the program with the BCB IDE works fine, but when I execute the Can anyone help me on this subject? Thank you in advance, Bent Christensen b...@unigate.com |