I am trying to deploy an application, and I ran in to this weird problem. When I install my program it works as it should, but only when I got to the Program File folder and click on the *.exe file itself. When I launch the file from the start menu, which uses a link, it will not find the external files needed to run (such as data files, ini, whatever files I need). If I put these needed files in with the link where the start menu folder is, then it works correctly. I have printed off the working directories for both ways of launching and they have always returned the same C:\Program Files\blah blah blah which is what I want, but the link seems to be ignoring this.
So, is there something i am not aware of with the way links work, and the current working directory?
edit: I should mention that I am using the current working directory path, plus the names of the files to get absolute paths and it is still giving me this problem.