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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:36:56+00:00 2026-05-11T16:36:56+00:00

Good afternoon, i am currently wrestling with an old .dll which functionality I have

  • 0

Good afternoon,

i am currently wrestling with an old .dll which functionality I have to re-use in a .Net application & I came so far to import the basic/easy functions/methods that return bool etc, but some do in fact also expect (or return) an type that is declared within the .dll.

How would I handle this? How would I map/create that type in my .net environment?? Is that possible at all?

Cheers and thanks,
-Jörg

  • 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-11T16:36:56+00:00Added an answer on May 11, 2026 at 4:36 pm

    By “type”, I assume you mean struct, otherwise you’ll have to find out how to map a struct in memory to your type.

    You’ll have to create the same struct in your .NET application, and mark it with the StructLayout attribute (LayoutKind.Sequential is the most common). Then you should be able to pass a reference to the struct.

    The Platform Invoke Tutorial on MSDN is also quite helpful.

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

Sidebar

Related Questions

Good afternoon, I am currently starting to think & prototype about a (.net based)
Good afternoon, currently using JSON feed for my calendar which works ok. Is it
Good afternoon people's I have built a jquery plugin that I use on my
Good Morning/Afternoon all, I have a ASP:grid which displays current versions of Terms and
Good afternoon, I have a C++ class Range which implements a operator < for
Good morning/afternoon/evening, Internet. I am currently developing a wap game and have encountered a
Good afternoon In Java, I have HashSet which contain list of Object User which
Good afternoon, I am currently in the very early phase of a new project
Good Afternoon all , I have downloaded data from a web service and im
Good afternoon all, I'm using a java.lang.StringBuilder to store some characters. I have no

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.