I have noticed that my executable only works when it’s in the same folder as the DLL file it’s made with. I know if I put the DLL file in system32 folder my executable will work without having the DLL file in the same folder However, I was wondering if it’s possible to put the DLL and executable in different folders. I am using cmake and it will be very helpful my build folder is kinda getting messy .
so far i have only tried to put the dll files in system32 folder.
MeMeo LoGisT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1