@engkin ... it is something with "create file" even this raises the same error:
(typed off the top of my head, but using old Pascal syntax same error):
Assign(BFH,'testing.456');
Rewrite(BFH,1); <--- Access Violation
Close(BFH);
Again the code works on Linux and Mac, hmmm.