Worth to note is that the default value of the minenumflag in freepascal isnt 1 as in delphi, wich has caused me some headace.