A
A
Anton_repr2019-07-21 15:51:06
.NET
Anton_repr, 2019-07-21 15:51:06

How to include libraries?

I use using...in order to use the library that I have included in the project.
But what is it [DllImport("user32.dll")]and how does it differ from using...?
// user32.dllis a sample library

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Peter, 2019-07-21
@Anton_repr

There are managed dlls, which are written in .net languages, those you connect to the project using. And there are dlls that are written for win32. Here you connect them via [DllImport("...")]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question