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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:04:51+00:00 2026-06-11T22:04:51+00:00

I have a third party dll with no lib or header file to use

  • 0

I have a third party dll with no lib or header file to use in my c++ app. That’s why I use LoadLibrary(_T(“xxx.dll”)) to load it. And I can reach its functions with GetProcAddress() function.

There is a struct in this dll and I have to reach it too. What should I do to reach and use it? I have looked over the site but found just examples with c# not c++. What is the way of doing this in c++?

Thanks…

  • 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-11T22:04:52+00:00Added an answer on June 11, 2026 at 10:04 pm

    If you know the syntax of the struct, for example from a C# definition then you can simply add its definition to a .h file, include it in your C++ source file and use it. that’s all.
    but if your struct is some kind of class and has member methods then you should know the decorated name of member methods, load them from .dll dynamically and call them as C functions.

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

Sidebar

Related Questions

We have a third-party DLL that can operate on a DataTable of source information
I need to use a third party DLL which I don't have header ,
I have a .nuspec file for my project, which references a third-party DLL that
I have a third-party product, a terminal emulator, which provides a DLL that can
I have a third-party dll that I load into software that isn't mine, and
I have a third-party (Win32) DLL, written in C, that exposes the following interface:
I have third-party C code that writes data to a file. I want to
I have a VC++ application compiled against a third party DLL (using their LIB
I have a third party dll that I need to install to the GAC.
I have a third party c dll which I want to use in my

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.