473,396 Members | 1,998 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,396 software developers and data experts.

Registering DLLs - Unmanaged and Managed DLLs

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

Aug 28 '06 #1
3 2668
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
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Aug 28 '06 #2
What about the .NET dll, copying /overwriting the current version with
new version of DLL?
Ignacio Machin ( .NET/ C# MVP ) wrote:
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
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Aug 28 '06 #3
Provided it is not locked by virtual of being in use, knock yourself out.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"gopal" wrote:
What about the .NET dll, copying /overwriting the current version with
new version of DLL?
Ignacio Machin ( .NET/ C# MVP ) wrote:
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
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

Aug 28 '06 #4

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

Similar topics

9
by: Andrew Cumming | last post by:
I am having trouble using Platform Invoke to call C++ DLLs from C# windows applications. The DLLs seem to load, but I get run-time errors to the effect that the named entry points cannot be found....
2
by: kinghuangz | last post by:
Everyone: I want to use a DLL(FileName:PubFunction.Dll) built with VS.Net(C#) in a unmanaged Program .But there was a Dll just has the same filename,it was built with VC++(6.0).The unmanaged was...
2
by: Vikas | last post by:
Hello, I am trying to use a COM dll inside my C# application. But my production environment would not allow be register the COM dll. Are there any other options by which I can use a method...
0
by: Frank Lopez | last post by:
My program structure is: 1. 2. 3. => manually does the crt-init and crt-terminate calls 4. -- this is accessed by the unmanaged C++ classes in (3) using LoadLibrary and FreeLibrary
0
by: Eric Twietmeyer | last post by:
Hello, Am I mistaken in thinking that if I have a mc++ dll that I should be able to link against it (so long as it has exported symbols via declspec(dllexport)) in an unmanaged application? I...
6
by: _R | last post by:
I've had to write a lot of code to interface C# to older Win32 DLLs. Basically, an unmanaged C++ class talks directly to the Win32 DLL. A managed C++ class encloses the unmanaged C++ class. C#...
6
by: Dan Dorey | last post by:
I actually have two questions here, but I'll start by giving an outline of what I'm trying to do. I'm building an app with a simple plugin architecture (all in the same app domain). I have each...
1
by: rwf_20 | last post by:
My setup consists of two DLLs and an EXE, all C++. The EXE is unmanaged, and calls an unmanaged DLL. The unmanaged DLL calls a managed DLL. If I build all three in the same version of VS,...
2
by: dan | last post by:
Our company has a large legacy application that we would like to convert to run under the CLR. The application consists of a large collection of Dlls that have been written in C++ and MFC over...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.