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 4343328
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T11:44:14+00:00 2026-05-21T11:44:14+00:00

I have a C# application and a C DLL both of which I wrote

  • 0

I have a C# application and a C DLL both of which I wrote and both of which work on a few W7 (64-bit) and XP (32) machines I’ve tried it on. Today I installed the app/dll set on yet another machine (XP) and it crashes on the first call to the DLL. I’ve replaced the code in the DLL that gets called with return(0) and it still crashes.
I’ve been using this app/dll set for a few days on a few machines without a glitch, but now I’m stumped ’cause it dies just accessing the DLL. Any ideas?

Added note since my original post:
I’ve learned some things based on suggestions below…
1. the exception error message is “… side-by-side configuration is incorrect…”.
Googling seems to indicate that this is an issue related to the PC not having the
correct (compatible) environment; however, note that this C# app has run on this
PC just fine in the past (difference being that the DLL is now built with VS2008
rather than Cygwin/MinGW/GCC).
2. dependency walker tells me that the file IESHIMS.DLL cannot be found. I have no
idea what this file is for, but apparently I need it.

  • 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-21T11:44:15+00:00Added an answer on May 21, 2026 at 11:44 am

    The IESHIMS.DLL dependency appears for pretty much every file I open in dependency walker and its never been the source of any problems – you can almost certainly ignore that.

    You should check to make sure that you have the correct version of the Visual C++ Redistributable, and you might also want to check this question – Side-by-side configuration error (Microsoft.VC80.CRT v8.0.50608.0) to make sure that this is not applicable to you.

    Finally, you should make sure that your C# application targets a specific architecture (the one that the native dll was built against) rather than “Any CPU”, as uisng “Any CPU” will mean that the program will run either as a 64 bit or 32 bit application depending on what machine you run it on, which will cause problems on 64 bit machines attemtping to load 32 bit native dlls.

    If your app previously worked when compiled with a different runtime then it sounds like the Visual C++ runtime is simply not installed on that specific machine – you should never assume that it is, however on many machines it has already been installed by another application.

    Update: Here is a link to the Microsoft Visual C++ 2008 Redistributable Package (x86).

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

Sidebar

Related Questions

I have a Java Application which has to load an DLL with a few
If I have a Server/Client application that both reference the same DLL which contains
I have application which needs to use a dll (also written by me) which
I have Java application which sends pointer to function (callback) to some native dll
An application I have recently started work on has to register two dll's, because
I have a simple application that loads an unmanaged dll and passes a few
I have an application which uses Webbrowser control to navigate to a few vendor
I have C# application which uses weifenluo.winformsui.docking.dll 2.3.1.0 for Docking. It runs nicely in
I have a C# application program, let's call it App.exe. It references a DLL
We have a 32-bit .NET application which makes use of the 32-bit version of

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.