DLLs

  • Thread starter Thread starter Ezmeralda
  • Start date Start date
E

Ezmeralda

Hello,

I am looking for a good introductory documentation to DLLs.
Can you provide me some links, please?

Issues:
- what different kind of DLLs do exist?
COM, Win32, .Net class library, ... ????
- what is the difference between the different kinds
of dlls, what is common to all of them?
- what are the limitations accessing these dlls?
which can be accessed by C#, which by traditional
C++ and Visual Basic, which by C++ and Visual Basic .Net?


Thanks for your help!
Ezmeralda
 
Ezmeralda said:
I am looking for a good introductory documentation to DLLs.
Can you provide me some links, please?

Issues:
- what different kind of DLLs do exist?
COM, Win32, .Net class library, ... ????
- what is the difference between the different kinds
of dlls, what is common to all of them?
- what are the limitations accessing these dlls?
which can be accessed by C#, which by traditional
C++ and Visual Basic, which by C++ and Visual Basic .Net?

Win32 DLL = standard native code
COM DLL = Win32 DLL that follows COM conventions
..NET DLL = .NET code (has nothing to do with Win32 DLL at all)

native C++ and VB6 can use:
Win32 DLL
COM DLL
(and .NET DLL if exposed as COM DLL)

VBS can use:
COM DLL
(and .NET DLL if exposed as COM DLL)

C# and VB.NET can use:
Win32 DLL via DLL import
COM DLL almost as easy as .NET DLL
.NET DLL

Arne
 
Arne Vajhøj said:
Win32 DLL = standard native code
COM DLL = Win32 DLL that follows COM conventions
.NET DLL = .NET code (has nothing to do with Win32 DLL at all)

You just did someone's homework for them. They just posted the question
straight out of the book.
 
Win32 DLL = standard native code
COM DLL = Win32 DLL that follows COM conventions
.NET DLL = .NET code (has nothing to do with Win32 DLL at all)

native C++ and VB6 can use:
Win32 DLL
COM DLL
(and .NET DLL if exposed as COM DLL)

VBS can use:
COM DLL
(and .NET DLL if exposed as COM DLL)

C# and VB.NET can use:
Win32 DLL via DLL import
COM DLL almost as easy as .NET DLL
.NET DLL

Arne

Thanks for this good information!
But if someone could provide some links to
websites / PDFs dealing with these issues
(and maybe providing some more background
information), I would really appreciate this.

What I am also interested in:
- what restrictions do exist for win32 dlls?
can I do anything like in native C++?
- what is COM interface exactly?

I think these issues are not handled in
normal programming books / websites,
and I have a hard time to find some good
information!

Thanks!
 
Win32 DLL = standard native code
COM DLL = Win32 DLL that follows COM conventions
.NET DLL = .NET code (has nothing to do with Win32 DLL at all)

native C++ and VB6 can use:
Win32 DLL
COM DLL
(and .NET DLL if exposed as COM DLL)

VBS can use:
COM DLL
(and .NET DLL if exposed as COM DLL)

C# and VB.NET can use:
Win32 DLL via DLL import
COM DLL almost as easy as .NET DLL
.NET DLL

Arne

*Some* Delphi generated DLLs are not standard DLLs per se
 
Ezmeralda said:
Thanks for this good information!
But if someone could provide some links to
websites / PDFs dealing with these issues
(and maybe providing some more background
information), I would really appreciate this.

There must be a lot of stuff out there.

You could start at Wikipedia and Google
more details.
What I am also interested in:
- what restrictions do exist for win32 dlls?
can I do anything like in native C++?
- what is COM interface exactly?

I think these issues are not handled in
normal programming books / websites,
and I have a hard time to find some good
information!

They should be handled in books dealing
with Win32 and COM programming.

Again - start reading Wikipedia.

NB: Note that COM is a very complex
area, so do not be sorry if there are some
thing that does not appear obvious.

Arne
 
Michael said:
You just did someone's homework for them. They just posted the question
straight out of the book.

Sorry I do not have a magic crystal bowl where I can
see why people post questions.

Arne
 
@ Arne: thanks for your help; you did not do my homework but you gave
me some helpful
information to provide me a good start in this quite complex area; of
course you can find all
the information in the internet - the problem is that I don't want to
spent days to filter out
all the grab and bad information; I am working in the embedded IT area
and I don't know
anybody who has a really good understanding in the area of dlls and
COM - although
some people are using some of the functionality....
the problem for me is to find some goood, basic information to give me
the "big picture"
in order to allow me to make the right design decisions.

@ Mr. superclever Michael C: please just don't waste your time and
tell other people
about your great intuitions - you are wrong, at least in my case...;
and please: don't get
back to me bashing - better give me some information :))
 
Ezmeralda said:
@ Arne: thanks for your help; you did not do my homework but you gave
me some helpful
information to provide me a good start in this quite complex area; of
course you can find all
the information in the internet - the problem is that I don't want to
spent days to filter out
all the grab and bad information; I am working in the embedded IT area
and I don't know
anybody who has a really good understanding in the area of dlls and
COM - although
some people are using some of the functionality....
the problem for me is to find some goood, basic information to give me
the "big picture"
in order to allow me to make the right design decisions.

@ Mr. superclever Michael C: please just don't waste your time and
tell other people
about your great intuitions - you are wrong, at least in my case...;
and please: don't get
back to me bashing - better give me some information :))

Good story, it almost sounds believable.
 
Back
Top