I'm afraid I can't help.... I've never used FreePascal or Lazarus. Hopefully someone who does will be able to help.