In case it helps anyone

Comments

  1. Asbjørn Heid Regarding point three, my favourite was to do something like this (for Win32):
      if (counter=probloem_count) then asm int 3; end;

    For the earlier versions of Delphi, it was more (from memory) "asm db. $cc; end;" as the compiler didn't know about "int 3"

    Win64 moved the assembler to a method by itself - not sure about iOS(X), as I don't have to worry about those :-D

    ReplyDelete
  2. Drat!

    Invalid compiler directive SetPEFlags in D5

    Brian Long - I see you updated your tip according to this convo. Nice job!

    ReplyDelete
  3. Nicholas Ring Ah yes, I use that so often I forget it is a trick :-) It's invaluable.

    ReplyDelete

Post a Comment