Solved

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

Posted on 2009-07-12
1
438 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
API v SOA 8 39
Easy filter aspnet 2 34
Code works but breaks when I add one section 4 29
Problem to Office 1 42
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

756 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