Well since you cannot guarantee that your program will be started from the directory above
xmldata you cannot be sure that the path is valid. You should always use absolute paths to refer to your program's data files. In most cases the files should be stored in one of the standard locations that you can access by the
SHGetFolderPath
function[
^].