Delphi ocx, dll implementation details