07-16-2010 09:45 AM
Hello,
I have a small problem. I have an ini file that I use to store certain parameters. Lets call this file app.ini. When I build the Application.exe, it puts that file into the data directory. I was hoping that it would be one level higher and be located in the same directory as Application.exe is (otherwise it won't read the file correctly.) I looked at the Source File Settings in the Category list in the properties window for the build and set the Destination to be "Same as caller", but that didn't put it where I wanted it. I'd really like this file to be one directory higher when I make my build in order for my app to read it correctly. Any suggestions?
I use this executable later on when I make my installer and the problem simply propagates there too, not good.
Solved! Go to Solution.
07-16-2010 09:49 AM - edited 07-16-2010 09:50 AM
One way to solve the problem:
1) In build properties window select Destinations and create a new destination. Select as "Destination Path" the same dir where the exe will be stored
2) Assign this destination to the .ini file.
Let me know if it works 🙂
Marco
07-16-2010 10:45 AM