Well thats a possibility. It was a Delphi program moved to Lazarus so it may have something to do with the errors.

The funniest thing though... I move this function form the main 'program' source to a unit and reference to it and all of a sudden, no errors. :?

Interesting...


Any ideas guys?