473,395 Members | 1,938 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

DLLs

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

Mar 19 '07 #1
10 1574
Ezmeralda wrote:
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
Mar 19 '07 #2
"Arne Vajhøj" <ar**@vajhoej.dkwrote in message
news:45***********************@news.sunsite.dk...
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.
Mar 20 '07 #3
On 19 Mrz., 22:51, Arne Vajhøj <a...@vajhoej.dkwrote:
Ezmeralda wrote:
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
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!

Mar 20 '07 #4
On Mon, 19 Mar 2007 17:51:54 -0400, Arne Vajhøj wrote:
Ezmeralda wrote:
>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
*Some* Delphi generated DLLs are not standard DLLs per se
--
Bits.Bytes
http://bytes.thinkersroom.com
Mar 20 '07 #5
Ezmeralda wrote:
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
Mar 21 '07 #6
Michael C wrote:
"Arne Vajhøj" <ar**@vajhoej.dkwrote in message
news:45***********************@news.sunsite.dk...
>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.
Sorry I do not have a magic crystal bowl where I can
see why people post questions.

Arne
Mar 21 '07 #7
"Arne Vajhøj" <ar**@vajhoej.dkwrote in message
news:46***********************@news.sunsite.dk...
Michael C wrote:
>"Arne Vajhøj" <ar**@vajhoej.dkwrote in message
news:45***********************@news.sunsite.dk. ..
>>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.

Sorry I do not have a magic crystal bowl where I can
see why people post questions.
Or any intuition :-)

Michael
Mar 21 '07 #8
Michael C wrote:
"Arne Vajhøj" <ar**@vajhoej.dkwrote in message
news:46***********************@news.sunsite.dk...
>Michael C wrote:
>>"Arne Vajhøj" <ar**@vajhoej.dkwrote in message
news:45***********************@news.sunsite.dk.. .
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.
Sorry I do not have a magic crystal bowl where I can
see why people post questions.

Or any intuition :-)
As an IT professional I prefer facts over guesswork (including the
one labeled intuition) ...

Arne
Mar 22 '07 #9
@ 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 :))
Mar 22 '07 #10
"Ezmeralda" <ez*******@gmx.dewrote in message
news:11**********************@n59g2000hsh.googlegr oups.com...
>@ 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.
>

Mar 26 '07 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Johann Blake | last post by:
I can hardly believe I'm the first one to report this, but having gone through the newsgroup, it appears that way. I would like to open a solution in the VS.NET IDE that consists of multiple...
2
by: Shiraz | last post by:
Hi I just made an installer for an application that uses two external COM dlls. On the surface, everything seems to be running smoothly and the the application runs without any errors. However,...
11
by: Devender Khari | last post by:
Hi Friends, I'm facing a situation as follows, need help on identifying possible issues. There is an MFC application developed in VC6.0, say ABCVC6.exe and another developed in VC.NET, say...
0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
7
by: Oenone | last post by:
I'm sure there's an obvious way to do this, but I'm missing it so far. I have an ASP.NET application that relies on several DLLs to work. Currently in order to get my site working I have to put...
6
by: Brian Bischof | last post by:
I'm having troubles getting the debugging process to work consistenly for external classes. I got it to work once and then I turned it off. But now I can't get re-enabled. Here is what I'm doing....
0
by: Dave | last post by:
Hello The application I'm building an installer for uses dlls which were developed originally in C. Since the application itself is developed in C#, these dlls were wrapped using SWIG....
7
by: Jeff Lynn | last post by:
Help! I recently upgraded my VS V6 to VS 2005 and was unable to build projects that were perfectly ok under VS V6. Where VS 2005 fails was in the linker resolving external DLLs, which are Open...
3
by: gopal | last post by:
I am developing an application in CSharp - windows forms based, which copies the DLLs both unmanaged and managed DLLs from a shared folder and will overwrite the existing versions of managed &...
10
by: =?Utf-8?B?UmljaGFyZA==?= | last post by:
Hi, I usually deploy my ASP .NET application to the server by publishing, using Visual Studio 2005 publish feature. This creates the Bin folder on the server, with the compiled DLLs. I've...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.