I've built a custom DLL in CodeBlocks 12.11 with MinGW, and have linked my executable to it. When I run the executable via F9 in Code::Blocks, it does everything I want it to do. However when I double-click it outside of Code::Blocks, it opens, but immediately crashes. Is this an issue with MinGW, Code::Blocks, or what? Are there any fixes?
Note: The DLL is in the same folder of the executable that uses the functions inside it.