Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8861203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:26:30+00:00 2026-06-14T15:26:30+00:00

I have a 32 bit .Net application winform that invokes a C++ dll. We

  • 0

I have a 32 bit .Net application winform that invokes a C++ dll. We package the app into an installer and it installs and runs fine on at least 20 or so machines. The app was originally developed and runs fine on a Win 7 x64 machine (mine).

However when I run it on my bosses desktop (Win 7 x64) the application will not launch.
oh yeah…

When I try to launch the application I get a JIT dialog with

System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)

When I run depends on the exe on the bosses machine it says that app exe is x86 but that all the dependent dll at x64 and flags it as an error. When I run depends on the app on my machine the exe and dll are all marked x86.

How could this change between machines? The installer is just unpacking and copying in the normal way and works fine on plenty of other x64 machines…

naturally it only breaks on his machine which is two hours away and we have a trade show coming up. sigh.
very confused…

================= solved ==================

So we fixed it. Finding the missing the dll was a bit tricky.

First of all we goofed and we ran the wrong version of depends for an x64 box. So it was incorrectly reporting that the app was looking for x64 dll. If we had run the correct version I think we would have caught the issue sooner.

What solved it for us was looking at the log of Process Monitor from System Internals. It logs every file access and registry read. The log quickly showed a failed read on a Direct X 11 dll.

It turns out that a previous installer from some other app had installed some of the DX11 dll. That fooled our installer, and it skipped the DirectX 11 step so we had a missing dll.

Thanks for the help guys!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T15:26:31+00:00Added an answer on June 14, 2026 at 3:26 pm

    It is a simple “file not found” kind of error, but with the very awkward behavior that it doesn’t tell you what DLL could not be found. Which might be the C++ DLL but also any implicit DLL dependencies it might have. Like the runtime support DLLs, very commonly missed, you can deploy them with the vcredist installer. Or deploying the Debug build of the DLL, that can’t work.

    Getting a decent diagnostic requires turning on loader snaps and a debugger. Invariably hard to do on a machine that doesn’t have tools installed. The SysInternals’ ProcMon utility is an excellent alternative, you’ll see the program searching for the DLL. Albeit that you’ll drown in the amount of trace data it generates. Work from the bottom of the trace backwards.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a 32-bit .net application that uses a native 32-bit DLL via DllImport().
I have an existing 32-bit ASP.NET application that used 32-bit unmanaged DLLs. If I
I have a .NET application that runs on both x86 and x64. I'd like
I have created a .Net application to run on an App Server that gets
I currently have a 32-bit .Net application (on x86 Windows) which require lots of
I have a .Net application running on a 32 bit box. The application is
I have a .NET assembly that needs to be 32-Bit and needs to be
I have a .NET app which works in 32 and 64 bit. I would
I have a pretty simple ASP.NET Web Form that looks a bit like the
Bit of a backstory to this one... I have an ASP.NET Login App on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.