You must learn about program execution. It is a complex field, so you may start in the Microsoft documentation
Every process is running in some directory and it may NOT be the directory of the module. Look into the project settings where it is, because the debugger controls that with some settings.
Important: in a complete solution your exe use the COMPLETE path for dll loading, so you are app is safe against dll injection attacks!!!