Quantcast
Channel: Civilization Fanatics' Forums
Viewing all articles
Browse latest Browse all 12856

[SDK] debugging the DLL

$
0
0
After successfully compiling the DLL for a mod, I have been trying to debug the dll in visual C++ 2010 express.

I imported an existing project; when I press F5 to debug the mod, I get a window popup with the text:

Unable to start program '<PATH_TO_SOLUTION_DIRECTORY>\CvGameCoreDLL.dll'

It is somehow expecting that the DLL should be in the same directory as the solution and source files themselves. The only place that the DLL should be in is the debug folders of the solution (when its compiled), then it should be copied ASSETS directory of the mod. I get as far as this.

So what I would like to do is to tell the visual C++ 2010 express that I would like to debug the DLL in the ASSETS directory of the mod which is in a completely different directory than that of my source files / solution.

Does anyone know how to tell the compiler that the DLL is in another (completely different) directory so that I can debug it from there? If so, how and where do I do that?

Viewing all articles
Browse latest Browse all 12856

Trending Articles