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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:23:20+00:00 2026-05-25T15:23:20+00:00

Is it possible to use a executable (EXE) as a DLL file in your

  • 0

Is it possible to use a executable (EXE) as a DLL file in your application.

Some kind of WIN32 API for this?

I’m not trying to detour any functions or patch anything to the file itself.

Something like LoadLibaray for EXE (well I know LoadLibaray loads the whole dll anyways, so if a eqivanlent loads whole exe I don’t mind as long as it doesn’t call main method to start the program up)

Since I have this program which does alot of work but I don’t really want to load it all up.. it’s huge.. I just want to call a few functions from inside of it is it possible?

LoadLibaray for EXE?

Can’t really rip the functions out of the EXE as it’s over 23,000~ lines of assembly and split in 160 functions.

  • 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-25T15:23:21+00:00Added an answer on May 25, 2026 at 3:23 pm

    Unfortunately you can’t do this. You can only reference DLLs if you are using Visual Studio. But if you are using csc.exe to compile your C# code, you can use the /R parameter and reference executables, but this is achieved through command line.

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

Sidebar

Related Questions

Edit as of 1/24/2015 : It is not possible to use other trusted certificate
Possible Duplicate: how to find the location of the executable in C I would
I use Git on my 2 Macs, which each have a different executable path
Possible Duplicate: Set up Python on Windows to not type python in cmd When
I have written a program that utilizes 2 3rd party dll's and I want
Is it possible to import nsis code and run it from within a compiled
I have a program that depends on a configuration file for three settings. I
I have a project I am working on with Qt Creator and I'm trying
Lets say I import a module. In order for me to make the best
To clarify : The question is really: How do I locate the Mercurial command

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.