VISM.OCX in Delphi

Primary tabs

Caché

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;

 

 

 

  • 0
  • 0
  • 71
  • 3
  • 1

Answers

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

Comments

Why  VisM1.PLIST   get  data  single line.

I want data multiline.

Thank.