msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Dlls

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB WinAPI
Author Message
OfficeUser



Joined: 02 Feb 2008
Posts: 16

PostPosted: Sun Feb 03, 2008 11:04 pm    Post subject: Dlls Reply with quote

On another VB website They had a list of Dlls for download. Each Dll had a
description and some instructions on how to use. Reading some of the
descriptions and instructions I noted that some required to be registered on
the Registry and some did not. Can someone explain why some do and some
don't and what determines when a Dll must be registered.

Thanks!!

Archived from group: microsoft>public>vb>winapi
Back to top
View user's profile Send private message
Thorsten Albers



Joined: 04 Oct 2007
Posts: 756

PostPosted: Sun Feb 03, 2008 8:31 pm    Post subject: Re: Dlls Reply with quote

OfficeUser schrieb im Beitrag
...
> On another VB website They had a list of Dlls for download. Each Dll had
a
> description and some instructions on how to use. Reading some of the
> descriptions and instructions I noted that some required to be registered
on
> the Registry and some did not. Can someone explain why some do and some
> don't and what determines when a Dll must be registered.

COM/ActiveX DLLs have to be registered. So-called 'standard' DLLs do not
have to be registed.
The reason:
Methods etc. of COM/ActiveX DLLs are accessed via the COM interface(s). COM
takes the information needed for this from the system's registry. Therefore
these DLLs have to be registered, i.e. the location of the DLL as well as
the information about the available COM interfaces etc. have to be written
to the system's registry. Any application which is able to handle COM can
e.g. access a method in a COM/ActiveX DLL without having to know anything
about its arguments and return value before.

Methods etc. of 'standard' DLLs are accessed via an export table which is
located in the DLL itself. So any application can get the information
needed directly from the DLL. To use e.g. a method from a 'standard' DLL it
is necessary to know all about it before it is called. This information
can't be retrieved from the DLL but has to be provided by other methods
(documentation, C/C++ header file, VB declare statement, etc.).

--
----------------------------------------------------------------------
THORSTEN ALBERS Universität Freiburg
albers@
uni-freiburg.de
----------------------------------------------------------------------
Back to top
View user's profile Send private message
Michael C



Joined: 04 Oct 2007
Posts: 335

PostPosted: Mon Feb 04, 2008 7:08 pm    Post subject: Re: Dlls Reply with quote

"Thorsten Albers" wrote in message $c8e9a7e0$9f01a8c0@xyz...
> COM/ActiveX DLLs have to be registered. So-called 'standard' DLLs do not
> have to be registed.

It's possible that some of the dlls are dot net dlls.

Michael

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    msvisual.com Forum Index -> VB WinAPI All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group