我在菜单file-new...里新建了一个dll工程,代码编辑窗口中打开Project1.dpr文件,我里面什么语句都不添加,运行,出现错误,提示如下:
error:
Cannot debug project unless a host application is defined.use the run|parameters...dialog box.这是什么错误?怎么解决?
error:
Cannot debug project unless a host application is defined.use the run|parameters...dialog box.这是什么错误?怎么解决?
工程目录下有Project1.dll
1、在dll工程中,Run->Parameters,Host Application选择你写的那个应用程序的exe
2、通过Project->Add Existing Project,同时打开两个工程(exe,dll)