Note that there are some explanatory texts on larger screens.

plurals
  1. POSystem.IO.FileNotFoundException was unhandled Message=“The specified module could not be found. (Exception from HRESULT: 0x8007007E)”
    primarykey
    data
    text
    <p>I'm looking at code that is new-to-me. I have c++ code in a project called UI, with a number of dependencies, which builds correctly and doesn't return any errors. In the same solution in Visual Studio 2008, I have created a new C# windows forms project and added a reference to the dll generated by the UI project, and added a "using" statement. What I want to do is raise one of the dialogs that are defined in the UI project, so I have code like</p> <pre><code>UIDialog uIDialog = new UIDialog(); uIDialog.Show(); </code></pre> <p>which builds.</p> <p>When I run my project in debug, when it gets to the "new" part, I get the exception above - with no information as to what the missing module is.</p> <p>Is there any way to find out what the missing module is, without digging through the code in the UI project?</p> <p>(I'm trying to rephrase this question so that it doesn't get closed. If someone could give the definitive answer of "No, there isn't" I'd find that very helpful. Thanks also to those who closed the previous version.)</p> <p>Edit:</p> <pre><code>System.IO.FileNotFoundException occurred Message="The specified module could not be found. (Exception from HRESULT: 0x8007007E)" Source="ui" StackTrace: at ui.UIDialog.Startup() at ui.UIDialog..ctor() in c:\..\ui\UIDialog.h:line 61 InnerException: </code></pre> <p>That's the problem, there's no useful information anywhere obvious!</p> <p>It's not a 32/64 bit problem - before getting here, I had the typical "BadImageFormatException", so to get past that I forced everything to be 32bit.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload