dllregistration

In .NET, is there a need to register the DLL?

Is it necessary to register a compiled DLL (written in C# .NET) on a target machine. The target machine will have .NET installed, is it enough to simply drop the DLL onto the target machine? ...

Why is selfregistration bad?

Assuming self-registration is used to install components as part of a larger installer program, why is self-registration bad? E.g. self-registering vb custom controls or capicom or whatever. I acknowledge that self-registration is probably not as safe in the case of a dll you wrote yourself, but I'm not discussing those. The MSDN lists...

wrap 32 bit dll for 64 bit operating system to work with regsvr32.exe

We are currently transferring our websites from Windows 2003 (32-bit) to Windows 2008 (64-bit) and have hit a problem. One of our website use the payment gateway HSBC CPI which requires a DLL to be registered(regsvr32.exe), this DLL is then used inside a classic asp website. The problem is the DLL is a 32-bit DLL and so it will not reg...

What are the alternatives to dll registration for ActiveX

An application I have recently started work on has to register two dll's, "because of ActiveX". This makes it difficult to have multiple version of the application present on your machine - say the installed product version, and Debug and Release versions of the latest development sources. What are the alternatives to registration ...

Installing/registering win32 OpenSSL libraries (distributed with my app)

My application depends on OpenSSL libraries (through Qt networking modules; you can't compile it into Qt statically, because of legal issues) There's this project - Win32 OpenSSL Seems like all I need is to copy the two dlls into System32 and register them. copy ssleay32.dll %WINDIR%\System32\ssleay32.dll copy libeay32.dll %WINDIR%\S...

Binding Microsoft.Web.DynamicData assembly at runtime failing

I've got a project using DynamicData that was wrote by somebody else. Every time i try debbuging it, I get the message I've attached at the bottom I've already tried deploying the DynamicData dll to GAC, and throwing it into the bin folder, chceking the assemblies full names, installing again VS SP1, and .NET Framework SP1, and chceking...

Interop.MSXML2 throwing exceptions because its not registered BUT IT WONT REGISTER!

Ok, this line of code: XMLHTTP40 http = new XMLHTTP40(); Throws a System.Runtime.InteropServices.COMException and complains that: Retrieving the COM class factory for component with CLSID {88D969C5-F192-11D4-A65F-0040963251E5} failed due to the following error: 80040154. I have googled that and I guess the DLL needs to be regist...

Tracking down slow managed DLL loading

I am faced with the following issue and at this point I feel like I'm severely lacking some sort of tool, I just don't know what that tool is, or what exactly it should be doing. Here is the setup: I have a 3rd party DLL that has to be registered in GAC. This all works fine and good on pretty much every machine our software was deployed...

Invalid Class String Error when creating C++ Project in Visual Studio 2008 with Vista x64

After going through this Problem (connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=329986) that was related with registry permissions, now again, Visual Studio comes with another error. I have the same error as this guy, I have searched all the internet and it seems nobody has resolved it yet. When I create a C+...

Adding reference to correct version of IBM.Data.Informix library

When I go to reference the Informix client libraries for .NET in Visual Studio (Website->Add Reference) they show up as IBM.Data.Informix (version: 2.81.0.0; Runtime: v1.1.4322; Path: C:...\Client-SDK\bin\netf11\IBM.Data.Informix.dll) This actually works, but after running into some trouble loading my application on the production serve...

When is registering a Type Library necessary?

For example, if writing a shell extension, is it necessary to register the typelib with CComModule::RegisterServer (i.e., I'm wondering if calling it with FALSE will cause some issues). ...

Problem registering a dll - Access Denied

When trying to run regasm in Win2008 Server: regasm "C:\Program Files\FooProg\Bar.dll" /tlb:"C:\Program Files\FooProg\Bar.tlb" I get the following error: RegAsm : error RA0000 : An error occurred while saving the exported type library: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) what does this m...

Installing msvcr90.dll easy way! (without C++ Redistributable Package)

My program is a converted python file to exe file. The problem with this exe file is that it does not run without python installed and it only needs mscvr90.dll! I don't want to install C++ Redistributable Package just for this dll file! That big fat package! If I copy this msvcr90.dll to my application folder it just won't work! The f...

window CE forcably delete a DLL

I've got a DLL on my WindowsCE device that I need to delete. (so I can upgrade it), the problem is that I can't do it.. The system will just not let go. NOTE: I wish to Avoid a soft reset. I have removed all reference to the DLL in the registry. I've exited my application. I just can't delete the DLL.. After a soft reset, I can de...

Is there a way to register a dll on a server as part of a build?

I'm trying to build our web application automatically. I need to be able to copy the VB6 DLL's to a server and register them since the webapp is using them as a backend. I can't seem to find a way to register them from another machine. I can't use rsh because it isn't allowed on this server. ...

How to register a .Net dll in GAC?

I have made a .Net dll, which i want to register in GAC. I have used this command in windows server 2003 Command Prompt. c:\"Path of dll">gacutil/i dllname.dll it says path is not correct. Do i need to use this in .Net cmd prompt ,if it is that' i am not able to locate .Net cmd promt' . Please Suggest!! ...

Create installer to copy my Dlls to Program Files

I want to create a simple MSI to install some DLLs into programs, similar to how Telerik installs itself. Telerik uses "C:\Program Files\Telerik\RadControls for WPF Q1 2009\Binaries\WPF\" I'd like to do something simiar, such as "C:\Program Files\Foo\Bar\Bin\" Is this just as simple as creating an Installer project, or is there more t...

E_FAIL on DllRegisterServer in Win2008 R2 x64

We are getting the error below calling c:\windows\syswow64\regsvr32.exe on Windows Server 2008 R2 x64. This used to work fine on Win2003 x64, with our 32-bit COM DLLs, so we could use them from 32-bit processes. It's happening on all ATL COM DLLs of ours, and doesn't seem related to DLL load dependencies. (Tried using depends.exe, and...

How to Register a Type Library without RegAsm.exe

I want to know if it's possible to register a type library without using the RegAsm tool. Here is my situation, which will hopefully explain why I want to do this: I'm developing an assembly in .NET that will provide some modern functionality for our older VB6 applications. I have successfully registered the assembly and the type libr...

DllRegisterServer error 0xc0000005, (C++ COM Dll). how do I debug my DllRegisterServer function in Visual Studio 2008?

Hi All. I have written a COM dll, and wish to register it using regsvr32 myComdll.dll I get an error : DllRegisterServer failed, Return code was: 0xc0000005 I want to debug my DllRegsiterServer function, but I do not know how to set up Visual Studio 2008 to run regsvr32 in debug mode... Thanks Roey ...