Thanks a lot for the links, savage. I have installed the runtimes and now it works perfectly with fpc

Next step is installing the whole thing under Linux and I am confident that it will cause at least as much trouble as under Windows


Oh and maybe someone has an idea how the correct code for the above code fragment should look like, or am I missing the forest through the trees?