n, read file function,and the close file function.I placed functions in the callback open function,but program states: file not found. So I saved the file in the project window, but that didn�t work.do you know why the lab isn�t being located? ThankyouNote that when using the OpenFile function, the first parameter is not just the name of the file, but the whole path to it. For example,
a call to OpenFile("c:\\temp\\Mytext.txt", VAL_READ_ONLY,VAL_OPEN_AS_IS, VAL_ASCII);
should open the file I have on my c:\temp folder with name "Mytext.txt"
We need to escape the backslash in order for the string to be interpreted correctly; otherwise we'll get an error that the path is incorrect.
Hope this helps,
Azucena