Libraries not found when startup directory is different from exe directory
Posted: Thu Jul 06, 2017 12:35 am
I'm working on an application that installs into "Program Files", but the installer sets the startup directory of the desktop shortcut it creates, to the public "Documents" folder.
When I try to start the app from this shortcut, the app errs because the chromium libraries are not found. The libraries *are* installed into the .exe folder in "Program Files" and the app starts up if I manually go to that folder and start it.
Is it WAD that the libraries are not found, if the active directory is not the same as the directory containing the executable?
When I try to start the app from this shortcut, the app errs because the chromium libraries are not found. The libraries *are* installed into the .exe folder in "Program Files" and the app starts up if I manually go to that folder and start it.
Is it WAD that the libraries are not found, if the active directory is not the same as the directory containing the executable?