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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:59:41+00:00 2026-06-09T17:59:41+00:00

I load dll (dll_1) dynamically and run the code from it. The problem occurs

  • 0

I load dll (dll_1) dynamically and run the code from it. The problem occurs when this (dll_1) uses another dll (dll_2). I can’t embed dll_2 in dll_1.

I load dll by using Assembly.LoadFile then CreateInstance and InvokeMember.

What should I do?

  • 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-09T17:59:42+00:00Added an answer on June 9, 2026 at 5:59 pm

    If I understand your question correctly, you want to detect when a reference to an assembly is not being resolved and be able to intercede to ensure that the assembly is correctly loaded.

    You can use the AppDomain.AssemblyResolveEvent to do just that.

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

Sidebar

Related Questions

I want to dynamically load a dll and construct a MyDllClass object. My code
I have used the following code in a number of applications to load .DLL
Two Delphi programs need to load foo.dll, which contains some code that injects a
I've found a unit with functions that allow to Load a DLL directly from
How can I load a custom dll file in my web application? I've tried
I need to load some resource from my DLL (i need to load them
When trying to load Microsoft.Xna.Framework.dll from any project, it throws a FileNotFoundException. The specified
I have a class that is designed to dynamically load a .dll or .so
1) How to call winapi functions from PHP? 2) How to load any dll
How is it possible that 64-bit process can load dll written in .net 1.1

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.