Code::Blocks Forums
User forums => Help => Topic started by: lmsmi1 on March 04, 2013, 08:48:44 pm
-
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.
-
Is this an issue with MinGW, Code::Blocks, or what? Are there any fixes?
Did you copy the DLLs needed by your project into the same folder as the exe?
If not, you need to do so; or at least make sure the DLLs are in the system PATH.
NOTE: It likely is missing the mingw DLL mingwm10.dll and maybe some other DLLs.
Tim S.