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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:52:26+00:00 2026-05-16T16:52:26+00:00

I’m having exactly the same problem as the poster in this question . I

  • 0

I’m having exactly the same problem as the poster in this question. I have a visual studio C# projects from which I’m trying to call a function in another DLL (which is also part of the solution).

The DLL is a C++ one and the exported function I’m trying to call is declared like this in C#:

[DllImport("SomeDLL.dll")]
private extern static IntPtr SomeFunction(IntPtr someVar1, IntPtr someVar2, bool someVar3);

When I try to call the function from C# I see the following on the console output in the debugger:

‘MyApp.exe’: Loaded
‘C:\SomePath\Build\Eddy\Debug\SomeDLL.dll’
‘MyApp.exe’: Unloaded
‘C:\SomePath\Build\Eddy\Debug\SomeDLL.dll’
‘MyApp.exe’: Loaded
‘C:\SomePath\Build\Eddy\Debug\SomeDLL.dll’
‘MyApp.exe’: Unloaded
‘C:\SomePath\Build\Eddy\Debug\SomeDLL.dll’

And I the get the following error dialog:

Unable to load DLL ‘SomeDLL.dll’: The
specified module could not be found.
(Exception from HRESULT: 0x8007007E)

The code in question works fine on my colleagues windows XP machine. There’s also another C++ DLL in the solution which works fine.

  • 1 1 Answer
  • 2 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-16T16:52:27+00:00Added an answer on May 16, 2026 at 4:52 pm

    The problem seems to be that SomeDll.dll cannot be loaded. There are a few different reasons for why this may happen and some of them are:

    1. The dll is 32-bit and you are running a 64-bit process (or the other way around).
    2. SomeDLL.dll has some additional dependencies (other dll:s or COM components) that are not available.

    You can run Dependeny Walker: http://www.dependencywalker.com/ on your somedll.dll to see if it is point 2 that is the problem.

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a text area in my form which accepts all possible characters from
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
Does anyone know how can I replace this 2 symbol below from the string

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.