在Eclipse上用DLL调试C代码时出错
我正在使用带有MinGW的eclipsec/C++IDE来运行和调试我的应用程序。 当我运行时,它工作正常,但当我调试我的应用程序崩溃 这是我的密码:在Eclipse上用DLL调试C代码时出错,c,eclipse,debugging,dll,C,Eclipse,Debugging,Dll,我正在使用带有MinGW的eclipsec/C++IDE来运行和调试我的应用程序。 当我运行时,它工作正常,但当我调试我的应用程序崩溃 这是我的密码: #include <windows.h> #include <stdio.h> void loadDLL() { int handle = LoadLibrary("teste.dll"); printf(handle == 0 ? "\n DLL not loaded." : "\n D
#include <windows.h>
#include <stdio.h>
void loadDLL() {
int handle = LoadLibrary("teste.dll");
printf(handle == 0 ? "\n DLL not loaded." : "\n DLL loaded.");
}
int main() {
loadDLL();
printf("\n Press any key to exit.\n");
return 0;
}
当我调试时:
当I在加载库上跳过时发生错误。
我的DLL是用Borland C++ IDE创建的,我不能改变它。< / P> < P>我的朋友找到了问题的解决方案! 我需要在我的应用程序启动程序中取消选中一个选项。 该选项是在以下位置自动加载共享库符号: AppLauncher>>调试器>>共享库
我不想调试我的DLL,我只想跳过一步
DLL loaded.
Press any key to exit.