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

  • Home
  • SEARCH
  • 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 822659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:49:53+00:00 2026-05-15T02:49:53+00:00

I had a C# .NET windows application having C# user interface and all the

  • 0

I had a C# .NET windows application having C# user interface and all the code behind processing is done by calling C++ dll (C++ class library project) which is added as a reference to the C# project.

However recently when I formatted my computer and again tried to run my project which was backed up, in visual studio 2005 it gave the following exception:


An unhandled exception of type ‘System.IO.FileNotFoundException’ occurred in System.Windows.Forms.dll

Additional information: The specified module could not be found. (Exception from HRESULT: 0x8007007E)


This exception is thrown when I put the following code (for example) in the button click event.

    private void button3_Click(object sender, EventArgs e)
    {
        CyclopiaDll.Class1 cc = new CyclopiaDll.Class1(); // calling dll 
        cc.clearData();            
    }

However the exception is actually shown to be thrown in this line even though the form gets loaded without a problem:

  Application.Run(new Form1());

I tried building the new project and adding the referenced dll again but I m still getting the exception.
This happened to me before also when I tried to run this project in another computer. However after my machine was formatted even I cant even run the application.

Only way I can think of solving this is to recreate the project from the scratch as before. which is time consuming.

Is there a way to avoid this problem so that I can run this project in my computer as well as in another computer ?

  • 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-05-15T02:49:53+00:00Added an answer on May 15, 2026 at 2:49 am

    It sounds like you have a missing dependency i.e. another dll that your C++ dll depends on, that is not present on your machine.

    You can use a utility like “Dependency Walker” to load your C++ dll on a machine where you have a problem, and it will point out any any missing dependencies. It is then a case of working out what this dependency is (e.g. missing C++ runtime version) and then ensuring this is packaged with your application either directly or via a merge module if suitable, for instance.

    Dependency Walker: http://www.dependencywalker.com/

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

Sidebar

Ask A Question

Stats

  • Questions 495k
  • Answers 495k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Yes, by using intents. For example: final Intent intent =… May 16, 2026 at 11:23 am
  • Editorial Team
    Editorial Team added an answer I don't think you need an if, you could use… May 16, 2026 at 11:23 am
  • Editorial Team
    Editorial Team added an answer Use double-escaping inside the RegExp() constructor: var r4 = new… May 16, 2026 at 11:23 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Solution (kinda): Turns out this impersonation with .NET's security only allows application-level access. Since
I'm having an issue with a Visual Studio 2008 web application project where changes
We are streaming data between a server (written in .Net running on Windows) to
I have CruiseControl.NET configured to monitor 10+ .NET projects. All of these projects (web
I remember .Net had a feature (don't remember whether it was a configuration option
We've been having intermittent problems causing users to be forcibly logged out of out
I didn't get any responses from the asp.net forum, so I thought I'd try
Where would you write an error log file, say ErrorLog.txt , in Windows? Keep
jQuery 1.3.2, ASP.NET 2.0. Making an AJAX call to a PageMethod (WebMethod) returns the
Recently, I've been running some tests with C++ and VB.NET to compare execution speeds.

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.