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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:44:30+00:00 2026-05-23T18:44:30+00:00

Sometimes it will be great if I could use some other programs dll and

  • 0

Sometimes it will be great if I could use some other programs dll and customize them. For example there is a device called usb uirt where I can send ir signals from a computer. The software that is used to send the signals sucks and the drivers from the device come with a lot of dll’s. As a result, I tried importing them to visual studio but I could not create a reference. That was probably because maybe they were written in a different language I think. But someone managed to get a wrapper for those libraries and when I imported those dll it worked and I was able to control the device from c# which is great.

Anyways I was just curious about this and I want to learn more about it… How can I tell when can I use those dll’s? On what language they where created? I have tried googling that and I find stuff like:

[DllImport("my.dll")]
static extern void methodA(UInt32[] data);

what do the [] mean? Sometimes they use pointers… From my experience I have never had to use pointers. I can always pass a variable in c# by reference or by value plus with the help of delegates I don’t find the need for pointers but maybe I am wrong… I am interested in learning about all this. What phrase should I Google to learn about this?

  • 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-23T18:44:30+00:00Added an answer on May 23, 2026 at 6:44 pm

    What you are looking for is P/Invoke.

    What do the [] mean?

    This is the way you add attributes to function calls. This is the DllImportAttribute.

    Alternatively, if you meant the set of brackets in UInt32[], then this signifies that this is an array of UInt32’s.

    Sometimes they use pointers…

    It is possible to create pointers in C# unsafe code, but for use with P/Invoke there is a better system called marshalling. Marshalling allows types to be converted between your managed C# code and the unmanaged code in the DLL. There is for instance a IntPtr class for representing pointers to integers that you can use in the method declaration, but you would normally just pass in a regular integer and the marshalling code will automatically convert it for you.

    How can I tell when can I use those dll’s? On what language they where created?

    I’m unsure how to tell whether a given DLL is managed or not, but in regards to what language a given DLL was written in is irrelevant, and very difficult to determine after it has been compiled.

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

Sidebar

Related Questions

My current solution will suck sometimes EDIT For those who don't understand,see this example:
Some websites I develop have a great need for the use of Javascript, they
Sometimes IE6 will render the text of a <ul> list the same color as
I know that the compiler will sometimes initialize memory with certain patterns such as
I'd like to take user input (sometimes this will be large paragraphs) and generate
I'm writing an application wherein users will sometimes make orders through it. I want
I am using .NET Remoting. My server/hoster is a Windows Service. It will sometimes
I found that using Smarty with PHP, sometimes extra time will need to be
Im using HTC Hero with HTS sense. Im experience that sometimes AsyncTask not will
Sometimes when opening projects, NetBeans will display a Task scanning progress bar on the

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.