Hi,

maybe this is a dumb question, but:

If I have a variable declared as

  var
    s: PWideString;

why is an exception (AV) thrown when using

    something := s^;

but not when using

    something := PWideChar(s);

?
Maybe this is special behaviour of the routine getting the variable, it
is

  TTreeView.AddChild(ParentNode: TTreeNode; const s: string): TTreeNode

TIA,
-- 
Marc Santhoff <m.santh...@web.de>

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to