On 26 Nov 2010, at 18:59, Tomas Hajny wrote: > I'm not sure if closing the handle using the platform specific API is > actually a good idea here, because the RTL is probably not opening the > file in this case
You're right, so you don't even need that special code. Just change the handle and you're fine. Jonas_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel