Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2010-11

Error: Type is not automatable: "WideString"

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Иван Шихалев

When I try to call automated method with string constants, I had the compile-time error: 'Error: Type is not automatable: "WideString"'. What I do wrong? Or may be It's a bug?

----------- begin verror.pp ------------

{$mode objfpc}
program VError;
var
  v : variant;
  s : ansistring;
begin
 v.lalala(11);       // compiled
 v.blabla(s);        // compiled
 v.ololo('dummy');   // verror.pp(12,17) Error: Type is not
automatable: "WideString"
end.

----------- end verror.pp ------------

----------      Иван Шихалев      ICQ# 126-378-137      Jabber ID:

Reply by email