Any hints?

Any hints?
The obvious solution ...

procedure TContentHandler.startElement(var strNamespaceURI, strLocalName, strQName: WideString; const oAttributes: IVBSAXAttributes);
begin
if SomeCondition then
SysUtils.Abort;
end;

... results in the infamous "Catastrophic failure" OLE exception.
http://stackoverflow.com/q/38992143/49925

Comments

  1. David Heffernan are you trying to tell me I shouldn't ask here when I already asked on StackOverflow?

    ReplyDelete
  2. I don't really see the point. It just seems to me to add noise. I'm not the biggest fan of cross-posting.

    ReplyDelete
  3. Thomas Mueller Welcome. I still have to clean up my answer because it's not clear it's for XE7 while the question is specific to D2007 and that makes it confusing.

    ReplyDelete

Post a Comment