Solved

Missing DLL's when running C# + CLI project in debugger

Posted on 2009-07-12
1
443 Views
Last Modified: 2013-12-17
I'm trying to make a C# winforms project which is integrated with an existing vanilla C++ dynamic library, by creating a CLI dll wrapper to manipulate the unmanaged classes. I'm following the steps outlined here:

http://www.gamedev.net/reference/articles/article2526.asp

So far I'm just testing the principal with a very minimal app that just creates a CLI class, retrieves a value and sticks it in a text box. I've added a reference to the CLI dll and can build the code fine. Interestingly the code also runs fine and appears to work when I run the exe. However when I try and run the code through the debugger I get a file not found exception when trying to load a module.

The exception itself was not very informative, but I used a program called dependency walker on my exe and it reported two dll's not found. These are WER.dll and IESHIMS.dll. I gather that the later has something to do with IE8. However I've tried updating windows and repairing my IE8 installation but that file is still not there.

This is with Visual C#/C++ express editions 2008, and Windows XP SP3.

Is there anything else I can try?

0
Comment
Question by:StephenJordan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
StephenJordan earned 0 total points
ID: 24835263
Turned out to be nothing to do with missing dlls. The debug working directory just needed changing to where the CLI dll was located.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question