It's a wave file. Luckely, the length of the headers of the files I need to chop the header of is always 57 bytes.
I thought of using the CreateFile and WriteFile functions to make a copy of the file and using SetFilePointer to move the pointer 57 bytes.
Reading the file and moving the pointer works fine.
The only problem I have is to save the file again (under a different or the same filename). Because WriteFile requires a string to be written to the new file, and I don't want to read the complete file into a string and then write the string. I'm trying to find out if I can use the handle of the 'chopped' file to save it directly.
Remedy