(* Collection of code snippets by Arne Vajhøj *)
(* (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) *)
program TestPas;

{$mode delphi}{$H+}

uses
  ActiveX, TestLibrary_1_0_TLB;

var
  test : ITest;

begin
  writeln('COM/Pascal static:');
  CoInitialize(nil);
  test := CoCoTest.Create;
  writeln('123 + 456 = ', test.Add(123, 456));
  writeln('ABC + XYZ = ', test.Concat('ABC', 'XYZ'));
  CoUninitialize;
end.
