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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:10:30+00:00 2026-05-27T12:10:30+00:00

I have some 32-bit DLLs that don’t have matched 64-bit DLLs. How can I

  • 0

I have some 32-bit DLLs that don’t have matched 64-bit DLLs. How can I invoke these DLLs from a 64-bit application written in Delphi XE2?

  • 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-27T12:10:30+00:00Added an answer on May 27, 2026 at 12:10 pm

    No, you cannot directly do this. A 64 bit process can only execute 64 bit code, and a 32 bit process can only execute 32 bit code.

    The trick is to use multiple processes…. (Note this can be done for non visual code, and even for GUI elements, though there can be some small but problematic behaviors for visual elements.)

    The most common solution is to wrap the 32 bit dll in an out of process COM server, which you can call across the 64/32 bit barrier. (This goes both ways, you can create a 64 bit out of process COM server and call it from a 32 bit application also.)

    Yes, there are other ways to conceive of this, but the most common is to use COM:

    1. Create a new 32 bit out of process COM server that hosts your 32 bit
      DLL and exposes the needed functionality from the 32 bit dll.
    2. Call this COM server from your 64 bit code

    I should add that it is also possible to create the new 32 bit COM server as an in-process COM server, and then configure COM+ to run it. COM+ will run it out of process, and magically run your 32 bit in process COM server out of process, where you can call it from 32 and 64 bit code transparently, as if it was in process. (Note, if the COM server is a GUI control, going out of process may or may not work. The team I work with has done it successfully, but there are complexities — some of which cannot be surmounted — related to hooking parent windows and controls that cannot be done across the process boundary.)

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

Sidebar

Related Questions

I have some old C 32 Bit DLLs that are using Oracle's Pro C
I have some code here that uses bitsets to store many 1 bit values
I have some legacy C++ code that I am trying to understand a bit
I need to integrate some legacy 32-bit code - for which I don't have
I have a bit of JavaScript that builds some HTML for me and inserts
I have a static util class that does some string manipulation on a bit
I use this bit of code to feed some data i have parsed from
I don't want to use WebKit .NET because it doesn't have some functionality that
We have a visual studio Unicode application where we use some external dlls. In
I have some data that looks a bit like this: require(zoo) X <- rbind(c(date='20111001',

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.