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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:14:12+00:00 2026-05-20T18:14:12+00:00

I have a DLL file from which I need the memory address of a

  • 0

I have a DLL file from which I need the memory address of a class procedure. I am getting the handle to the DLL file, but when I use GetProcAddress, I can’t get the address of the procedure. I have tried the following strings for the process name parameter:

"ProcName"
"ProcClass.ProcName"
"ProcClass::ProcName"
"ProcInterface::ProcName"
"ProcInterface.ProcName"

In none of the cases have I gotten the memory address of the procedure. I am mostly certain that the procedure is public.

What is the string format for doing this? Would it be easier to declare a function pointing to the external procedure and get the address later? Like this:

procedure ProcName(); stdcall; far; external 'Example.DLL';

ProcPointer := @ProcName;
  • 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-20T18:14:13+00:00Added an answer on May 20, 2026 at 6:14 pm

    GetProcAddress only gives you the address for exported functions. Your DLL surely doesn’t export the methods of a class!

    Use an PE explorer to look for the exported names. For example, use the PE explorer available in GExperts. I’ve got a “PE Information” menu entry under the GExperts menu.

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

Sidebar

Related Questions

I have a class in a dll which parses a file and returns a
I need to use a third party DLL which I don't have header ,
I have a DLL from which I need to P/Invoke the following C method:
I have a very old (VC++ 5.0) proprietary DLL which I need to use
I have an EXE file using a DLL file which is using another DLL
I need to have a .NET 3.5 DLL have its own config file. This
I have a dll for a c++ class (SLABHIDDevice.dll). I am trying to use
I have an old DLL file which was built with VC++ 6. Now I
I have a c++ dll which I need to debug. Due to the circumstances
I have an Asp.net application which require a third-part .dll from other department(In fact,it

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.