Hello, Here where I got the example from: Help-CVI Library, search SetFilePtr(). I copied and I pasted the exmaple, when I compile it, it stops at OpenFile() giving the error msg "Initializer must be constant".
FYI: When you want to quickly test a piece of code with no main or anything, you can use the interactive execution Window. Go to "Window>>Interactive Execution" paste the code there and you should be able to run it from top to bottom with no main or extra code.