472,374 Members | 1,366 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,374 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 2558
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...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.
0
DizelArs
by: DizelArs | last post by:
Hi all) Faced with a problem, element.click() event doesn't work in Safari browser. Tried various tricks like emulating touch event through a function: let clickEvent = new Event('click', {...
0
by: F22F35 | last post by:
I am a newbie to Access (most programming for that matter). I need help in creating an Access database that keeps the history of each user in a database. For example, a user might have lesson 1 sent...

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.