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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:07:36+00:00 2026-05-14T06:07:36+00:00

Am interoping a c++ dll and am attempting to access it’s functions. Below is

  • 0

Am interoping a c++ dll and am attempting to access it’s functions.
Below is the dumpbin /exports output from the dll:

Dump of file C:\C#Processes\SummarizerApp\SummarizerApp\lib\summarizer37.dll
File Type: DLL
Section contains the following exports for summarizer37.dll

00000000 characteristics
458962FF time date stamp Wed Dec 20 11:21:19 2006
    0.00 version
       1 ordinal base
       4 number of functions
       4 number of names

ordinal hint RVA      name

      1    0 00002960 ?delete_summarization@inxight@@YAXPAVsummarization_interface@1@@Z
      2    1 00016240 ?delete_summarizer@inxight@@YAXPAVsummarizer_interface@1@@Z
      3    2 000105E0 ?make_summarization@inxight@@YAPAVsummarization_interface@1@AAVsummarizer_interface@1@AAVbyte_stream_interface@1@ABVsummarization_input_options@1@ABVsummarization_sentence_output@1@ABVsummarization_phrase_output@1@PBDI5@Z
      4    3 0001BC40 ?make_summarizer@inxight@@YAPAVsummarizer_interface@1@PBD00@Z

Summary

    4000 .data
    B000 .rdata
    4000 .reloc
   2E000 .text

Take note of ordinal #3. It includes several methods I need to call, specifically:
make_summarization
summarization_input_options
summarization_sentence_output
summarization_phrase_output

Have done a JNI wrap of this dll and know that the functions above (which are all class contructors) are available from “extern C” which JNI uses, in unmangled form.
Can I use the calling convention property of dllimport to access them undecorated?

In the C++ world what does it mean when multiple functions are exported under the same ordinal and what is the method of accessing them?
Thanks,
Jim

  • 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-14T06:07:36+00:00Added an answer on May 14, 2026 at 6:07 am

    The EntryPoint field of the DllImport attribute can be used to import functions by ordinal (prefix the ordinal with a #).
    It can also be used to import functions by their mangled name.
    If you really have pure “extern C” wrappers for all of the functionality exposed by the C++ library, that makes this easy.
    If you do not, you can construct C++/CLI wrappers to bridge between managed and unmanaged.

    undname.exe in the vc\bin folder can be used to demangle compiled C++ names:

    class inxight::summarization_interface * __cdecl inxight::make_summarization(
       class inxight::summarizer_interface &,
       class inxight::byte_stream_interface &,
       class inxight::summarization_input_options const &,
       class inxight::summarization_sentence_output const &, 
       class inxight::summarization_phrase_output const &,
       char const *, unsigned int , char const *)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am interating through classes in a Jar file and wish to find those
I'm trying to get a System.Drawing.Image (generated in a .NET dll) into a picture
I have a dbf file, and I can see in the view that types
I'm trying to create a mixed mode dll with a few function exported for
In Django you can remove items from a QuerySet by doing this as documented
Few questions on over riding. I am interiting a method openRead from another class,
I noticed an intersting thing. Every time when I access a SSL enabled website
Currently I have: 1 file with 9 million lines BufferedReader.readLine() to read every line
I have some legacy application in vb6 and I am interoping into .net It
Yesterday I saw the announcement from the Ceylon team that the first milestone release

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.