Question
· Jan 9, 2020

VISM.OCX in Delphi

Please suggest me.

I use delphi to develop and import VISM.OCX to component in delphi.

I run My Qurey Code in terminal get data many line but in VisM1.PLIST get data One line.

This is my code.
  VisM1.MServer := 'IP and Port My Server';
  VisM1.NameSpace := 'My Namespace';
  VisM1.Execute('My Qurey Code');

  VisM1.PLIST;

Discussion (4)0
Log in or sign up to continue
COS:

  #include %systemInclude
main()
  PLIST=2
  PLIST(1)="line 1"
  PLIST(2)="multiline 1"_$$$NL_"multiline 2"
  1
DELPHI:

procedure TForm1.Button1Click(Sender: TObject);
begin
  VisM.Server:='cn_iptcp:127.0.0.1[1972]:_system:@SYS';
  VisM.NameSpace:='USER';
  VisM.Execute('$$main^dc');
  ListBox.Clear;
  ListBox.Items.Text:=VisM.PLIST;
end;
Result:
line 1
multiline 1
multiline 2