Questions tagged [regasm]

Regasm is an Assembly Registration tool that reads the metadata within an assembly and adds the necessary entries to the registry, which allows COM clients to create .NET Framework classes transparently.

Regasm is an Assembly Registration tool that reads the metadata within an assembly and adds the necessary entries to the registry, which allows COM clients to create .NET Framework classes transparently.

235 questions
0
votes
0 answers

Error querying COM interfaces - class not registered

I try to register a COM component in new Windows Server 2012 R2 with REGASM and don't get any errors. However, the COM class doesn't get registered. Regasm result On my developer computer, this class is registered successfully. I don't understand…
user18928007
0
votes
1 answer

How can I register two dll:s in with the same macro using regasm in a nsis script?

I am trying to register two dll:s using a macro that takes these parameters: !macro RegisterWithRegAsm flag executable typeLib I call the macro like this: !insertmacro RegisterWithRegAsm "" "Dll1.dll" "Dll1.tlb" !insertmacro RegisterWithRegAsm…
kakka47
  • 3,479
  • 8
  • 44
  • 52
0
votes
0 answers

WebSetUp with COM Registration

I have a c# asp.net website project in a solution (VS 2008). In this solution, there are 6 c# class library projects, each have wcf service classes. All the 6 class library projects dlls are referred in the asp.net website project and it is shown in…
user904567
  • 67
  • 1
  • 2
0
votes
0 answers

Getting error as "Class not Registered" in Delphi while using a c# dll

I am trying to create a C# DLL which could be used in Delphi. But I am getting an error at implementation: My C# code is follows: using System; using System.IO; using System.Runtime.InteropServices; using System.Runtime.Serialization.Json; using…
S. B.
  • 186
  • 1
  • 12
0
votes
1 answer

Launching Excel Spreadsheet Containing COM Object Instantiation in VBA - From NSIS "Finish" Page - Gives Class not registered Error For Admin User

I am experiencing a strange occurrence when installing for a Standard user versus Admin. My installer requests "Highest" authentication level then proceeds to register COM dlls using a registry file import to HKCU (instead of using regasm.exe…
MatthewNYC
  • 45
  • 8
0
votes
0 answers

regasm from Framework versus Framework64? when one versus the other?

I built a COM enabled DLL in VB.NET that I need/want to be able to be able to use from Excel VBA. When I build the DLL and then attempt to use the DLL in an Excel Macro on the same workstation, everything works fine. When I try to port the DLL to…
Tom Malia
  • 31
  • 3
0
votes
0 answers

Registred library not found in COM part of reference manager window

I have registered a library with RegAsm.exe. The following commands are tested in PowerShell: C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe /codebase /tlb…
0
votes
1 answer

Problem with IPHLPAPI.DLL on Windows Server 2008

I am trying to install an application which uses the API GetIPAddrfromTable stack. When I start up the application, I get the error "Procedure entry point not found in IPHLPAPI.dll" I noticed that the dll file was quite old, so I tried replacing…
roymustang86
  • 8,054
  • 22
  • 70
  • 101
0
votes
0 answers

Registration COM-Interop (.tlb) including Assembly (.dll) references

I'm trying to register my Classlib.dll for using COM interop with the regasm.exe tool. In general this is not a problem. like this: > regasm.exe MyAsm.dll /tlb: MyAsm.tlb But now I use a .dll reference in my classlib project. The general…
0
votes
1 answer

Regasm is not working / ActiveX component can't create object

I wrote a C# .dll in Visual Studio which I want to call from excel VBA. (I used this tutorial) On my Development PC where I set the settings in the Project properties for "Make COM-Visible", "Register for COM interop" and "sign the assembly" it all…
Linus
  • 21
  • 3
0
votes
2 answers

How to run RegAsm /codebase with an InstallScript project?

I tried this question on the InstallShield forum and it hasn't gotten any love. My company has an InstallScript project (non-MSI), and we need to run RegAsm /codebase on one of our DLLs. I found some tutorials online for doing this, but they don't…
PaulFake
  • 3
  • 1
0
votes
1 answer

.NET Library class in vba - multi level domain object

I'm using .NET Library class in Excel VBA. It works. I can compile and register it by RegAsm. Using the Intercaces in .Net and COM attributes like ([InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]) , generally i see methods and objects in VBA…
mangood
  • 67
  • 7
0
votes
0 answers

Distribute C# DLLs including install COM-object

I have a C# with .NET 4.71 project and created a COM object with reference to another project. So by just creating the project with release configuration gives me some DLLs within the release folder and automatically installed the com object on my…
everydayXpert
  • 785
  • 2
  • 11
  • 27
0
votes
1 answer

How to register assembly using custom action in WIX toolset

My Wix toolset installer installs many files, but only one of these I would like to register for COM interop. I have tried the heat automatic registration but can't get it to work, so am falling back to what I used to do in installshield which is…
bgarrood
  • 419
  • 8
  • 17
0
votes
1 answer

Reading config file from shell extension

I have a project that is set up as a shell extension with a SharpShell library. When I register it with regasm tool (with /codebase flag on) it works up until the point where I need to use the database via EntityNetwork. I get this error: No…
okkko
  • 1,010
  • 1
  • 13
  • 22