Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dlls 2

Status
Not open for further replies.

Ladyhawk

Programmer
Jan 22, 2002
534
AU
Do you have to register a dll written in a .net language on a machine that has the .net framework? And if not how does it know where the dll is? Ladyhawk. [idea]
** ASP/VB/Java Programmer **
 
1. If the DLL is used by only one .NET application, then it can simply be placed in the same folder as the application itself and the .NET framework will find it.

2. If the DLL is shared by multiple .NET applications it should be placed in the global assembly cache, using gacUtil so that the .NET framework will find it.

3. If the DLL is used by applications which are not .NET e.g. VB6 applications then it must be registered using RegAsm so that it can be found in the same way as an ActiveX DLL.

Hope this is helpful.

Glyn.
 
That's great... thanks for your help. Ladyhawk. [idea]
** ASP/VB/Java Programmer **
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top