I'm just a beginner in programming under Linux, so bear with me if I overlook something obvious.

When I try my sample code from
this topic under Windows, it runs fine.
If I run the same code under Linux I get a error " Access denied". This happens on the line
reset(SourceF); I am sure I have got enough rights to perform the copy-ing (using a file in my own home dir. So what goes wrong?
[edit]
I did some further testing, After creating a file by save a memo to file. I came a little bit further. Now the program stops at
BlockWrite(destF, aBuffer, readCount, writeCount);And says: "Privileged instruction".