dllregistration

How do I register a .NET DLL file in the GAC?

不问归期 提交于 2019-11-27 06:51:31
I have made a .NET .DLL file, which I want to register in the GAC . I have used this command in Windows Server 2003 Command Prompt: C:\"Path of dll"\> gacutil /i dllname.dll It says the path is not correct. Do I need to use this in a .NET cmd prompt? If it is that, I am not able to locate the .NET cmd prompt. Fredrik Mörk You can do that using the gacutil tool. In its simplest form: gacutil /i yourdll.dll You find the Visual Studio Command Prompt in the start menu under Programs -> Visual Studio -> Visual Studio Tools . You'll need: Strong name your assembly (Visual Studio, Project Properties,

ActiveX component can't create object

送分小仙女□ 提交于 2019-11-27 04:13:51
问题 I have just installed a third party app on my Windows Server 2008 server and I get the ActiveX Component can't create object message when I try to access using a CreateObject in VBScript. It is definitely installed and exists under "Programs and Features". Does anyone have a list of things that I can check to figure out what is going on? I have now tried to register the DLL using regsvr32.exe /i bob.dll as suggested but I get this error: The Module "Bob.dll" was loaded but the entry-point

Hand Install of 64-bit MS Access ODBC drivers when 32-bit Office is present

女生的网名这么多〃 提交于 2019-11-26 20:26:50
I want to do a hand install of the MS Access 64 bit odbc drivers. Uninstalling 32 bit Office and installing 64 bit Office is not an option due to the add-ins that our company uses. I downloaded the AccessDatabaseEngine_x64.exe and using WinRar and Universal Extractor have managed to unpack all the files into a temp directory. I believe I have all of the files necessary but am a bit unsure where to go from here and would appreciate a little guidance. Which DLLs need to be registered to make the MS Access ODBC drivers available in the 64 bit ODBC administrator? Is there a list of registry

Error 80040154 (Class not registered exception) when initializing VCProjectEngineObject (Microsoft.VisualStudio.VCProjectEngine.dll)

社会主义新天地 提交于 2019-11-26 18:54:52
I'm trying to run this tool in order to convert a Visual C++ project to makefile. The project I'm trying to convert project is written in VS2008, so I'm using a reference to Microsoft.VisualStudio.VCProjectEngine.dll from version 9. It fails in this line: VCProjectEngine vcprojEngine = new VCProjectEngineObject(); With the following exception: Retrieving the COM class factory for component with CLSID {D19A00C4-A7F9-4E14-A5E1-D060B7EB57F3} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). When tried to register

MSI register dll - Self-Registration considered harmful

☆樱花仙子☆ 提交于 2019-11-26 15:33:35
I have a .NET winform application that requires to register a native dll during installation. My question is how can I register a dll ( regsvr32 ABC.dll ) as part of MSI installion process? Similary how can I un-register a dll as part of un-installation process? vsdrfCOMSelfReg is not a best practice. Try vsdrfCOM instead. This will "extract" ( or try, vdproj is a POS sometimes ) the COM metadata from the DLL and author it into the correct COM tables. This is better then hoping an out of process call to DllRegisterServer will work at install time. Now that MSI is natively aware of your COM

How do I register a .NET DLL file in the GAC?

余生长醉 提交于 2019-11-26 12:10:48
问题 I have made a .NET .DLL file, which I want to register in the GAC. I have used this command in Windows Server 2003 Command Prompt: C:\\\"Path of dll\"\\>gacutil /i dllname.dll \'gacutil\' is not recognized as an internal or external command, operable program or batch file. It says the path is not correct. Do I need to use this in a .NET cmd prompt? If it is that, I am not able to locate the .NET cmd prompt. 回答1: You can do that using the gacutil tool. In its simplest form: gacutil /i yourdll

How do I register a DLL file on Windows 7 64-bit?

六月ゝ 毕业季﹏ 提交于 2019-11-26 12:02:59
I have tried to use the following code: cd c:\windows\system32 regsvr32.exe dllname.ax But this is not working for me. How can I register a DLL file on Windows 7 with a 64-bit processor? Harold SOTA Type regsvr32 name.dll into the Command Prompt (executed in elevated mode!) and press "Enter." Note that name.dll should be replaced with the name of the DLL that you want to register. For example, if you want to register the iexplore.dll, type regsvr32 iexplore.dll . Hans Olsson Well, you don't specify if it's a 32 or 64 bit dll and you don't include the error message, but I'll guess that it's the

Hand Install of 64-bit MS Access ODBC drivers when 32-bit Office is present

拜拜、爱过 提交于 2019-11-26 07:38:54
问题 I want to do a hand install of the MS Access 64 bit odbc drivers. Uninstalling 32 bit Office and installing 64 bit Office is not an option due to the add-ins that our company uses. I downloaded the AccessDatabaseEngine_x64.exe and using WinRar and Universal Extractor have managed to unpack all the files into a temp directory. I believe I have all of the files necessary but am a bit unsure where to go from here and would appreciate a little guidance. Which DLLs need to be registered to make

How to repair COMException error 80040154?

末鹿安然 提交于 2019-11-26 07:38:13
问题 Moving a working C# project from a 64-bit Windows 7 machine to a 32-bit XP machine caused the following error: Retrieving the COM class factory for component with CLSID {681EF637-F129-4AE9-94BB-618937E3F6B6} failed due to the following error: 80040154. 681EF637-F129-4AE9-94BB-618937E3F6B6 is not in the registry so it is not properly installed, but this is same ID that was previously a problem on the 64-bit Windows 7 machine. The solution to this error on the 64-bit Windows 7 machine was found

Registration-free COM/DLL?

我只是一个虾纸丫 提交于 2019-11-26 06:05:47
问题 My program is using the Skype4COM.dll (A wrapper for the Skype API). I am using Delphi 2010 - is there a way to make sure that my program is ALWAYS using the Skype4COM.dll that I will ship it with? The thing is, there are different versions of Skype4COM, and if I register mine over someone elses, their app may not work anymore. Usually I use RegSvr32 to register the DLL on peoples system, but I heard its possible to make it registration-free (in C#), so my question is: Can we do that in