I have a program that needs to read ini/cfg files and then reads in more files based on the content of those I have the main ini/cfg file in my applications path and can retrive it but if the path to the executable changes like once this goes on a clients machine there will be problems.
is there any way in code to get the dir the exe is executed from without displaying a dialog box and saying please select the ini/cfg file locations as this would get very tedious every time u run the application
is there any way in code to get the dir the exe is executed from without displaying a dialog box and saying please select the ini/cfg file locations as this would get very tedious every time u run the application