Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2009-07-12
1
Medium Priority
?
446 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

715 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