Registering DLLs - Unmanaged and Managed DLLs

G

gopal

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 & unmanaged DLLs
into folder where some .NET application and a VB application has been
installed.

To be more clear, i will make some chnages to DLLs and using this
tool(developed in CSharp) i will overwrite the existing version of DLLs
- unmanaged (developed using VB) and managed DLLs for the respective
applications developed.

How are the DLLs to be registerd in case of VB DLLs and .NET dlls using
this new tool.

Can the registry functions be used inside this tool to register the new
verisions of DLLs?

Please can some give some hints/leads so that i can take this as a base
and develope something concreate?

Thanks & Regards
JK
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

To be more clear, i will make some chnages to DLLs and using this
tool(developed in CSharp) i will overwrite the existing version of DLLs
- unmanaged (developed using VB) and managed DLLs for the respective
applications developed.

Note that you will not be able to overwrite them if they are in use.
How are the DLLs to be registerd in case of VB DLLs and .NET dlls using
this new tool.

You do not need to register the .net dll.
In the case of the VB dlls you can call regsvr32 to register them. Or you
could use the win32 function to do the same
 
G

gopal

What about the .NET dll, copying /overwriting the current version with
new version of DLL?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top