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

OLE Registration success, but not able to instantiate GUID?

I have compiled a dll let say "foo.dll" with VS2010 Premium, at the Developer level the dll works perfectly with Navision 2009 R2 (it connects with a third party dll which connects to the com port to read data). at the production level, the…
M. A.
  • 424
  • 6
  • 21
0
votes
1 answer

Registration with regasm error

I am asked to register a dll by using regasm but new to it. Here is my questions: C:\Windows\Microsoft.NET\Framework\v4.030319\regasm XXX.dll/codebase. It says error RA0000: Unable to locate input assembly 'xxx.dll/codebase' or one of its…
0
votes
0 answers

Not able to register/unregister DLL files using Regasm

I'm encountering ongoing issues with trying to register .NET DLL's for use within Excel. This is on the test server where we've had to uninstall and install new releases very frequently. Of late, attempting to register or unregister is failing to…
stats101
  • 1,837
  • 9
  • 32
  • 50
0
votes
1 answer

Register 32-bit COM server (and generate TLB) for use with 32-bit and 64-bit clients

Method 1: x86 target platform I have a .NET class library that is intended for use with both 32-bit and 64-bit clients, some of which are .NET projects and some of which are C++ MFC projects. I can get the library to work with the 32-bit clients,…
Logical Fallacy
  • 3,017
  • 5
  • 25
  • 41
0
votes
1 answer

How to run regasm.exe from a C++ program (.NET 4)

I need to register a .NET COM dll from a C++ program that is using it. For .NET versions older then .NET 4 this is explained in How to run regasm.exe from a C++ program?. Following is the minimal code (no checks) that provides the path to an older…
Lorenz
  • 165
  • 1
  • 1
  • 10
0
votes
0 answers

Use a COM object from DLL in C# language

I want to use in an ASP page, dll built in C#. For this, I created a test DLL, the code is as follows: using System; using System.Runtime.InteropServices; namespace MyDLL { [ComVisible(true)] public class Operations { …
Jo_
  • 13
  • 4
0
votes
1 answer

The best way to deploy COM classes from a .NET assembly on the user's computer

I've written an assembly that registers and works fine on my development machine using regasm. I'm wondering what's the recommended way to deploy such a library on the users' computers. My users will use the COM library from Excel VBA. I know I can…
Michał Fronczyk
  • 1,859
  • 4
  • 24
  • 29
0
votes
2 answers

Regasm failing for administrator account

Operating system: Windows XP Service Pack 3 Framework: Microsoft.Net\Framework\v2.0.50727 Command Prompt started as Administrator \regasm /codebase Hps.Exchange.PosGateway.Client.dll /tlb or \regasm…
garaber
  • 232
  • 3
  • 13
0
votes
1 answer

.NET assembly cannot be found in debugger if only registered into HKCU

We have a COM-visible .NET assembly. This assembly is registered via 'per-user COM registration' by adding the registry entries into HKCU with admin privilege. The assembly is registered successfully and the COM object can be instantiated without…
Chloe
  • 41
  • 6
0
votes
1 answer

Regasm not working on dll

I am creating a IconHandler shell extension in c# using SharpShell. Here is the code for my dll. using SharpShell.Attributes; using SharpShell.SharpIconHandler; using System; using System.Collections.Generic; using System.Drawing; using…
Popgalop
  • 737
  • 2
  • 9
  • 26
0
votes
1 answer

Register DLL with regasm from VBA with shell command

Okay so I'm trying to package a DLL being used by my spreadsheet with the excel file. My spreadsheet will be copied to different PC's and used from different places and I'm trying to avoid having the user run regasm every time the worksheet (with…
Ian
  • 4,169
  • 3
  • 37
  • 62
0
votes
0 answers

Use 32 bit managed dll in 64 applicaiton

I have a 64bit application that need to call a legacy c++ dll for some analysis. Usually that dll is a DSS logic that takes in a file, process it, and writes out the output to file. I tried to use the function using DllImport but, it doesn't work…
Mohit Vashistha
  • 1,824
  • 3
  • 22
  • 49
0
votes
1 answer

.NET registering a DLL through RegAsm without populating Windows event log

Well, i have looked for, but haven't found anything similar to what i wish, and i dont even know if that's possible. What happens is that, some customers still use windows XP, and this windows version limits the size of the Windows event log to 512…
Bruno Brs
  • 673
  • 1
  • 6
  • 23
0
votes
1 answer

How can I run a batch command with UAC administrator privilegies at WiX config

I have a problem with UAC rights, here is my config:
AuthorProxy
  • 7,946
  • 3
  • 27
  • 40
0
votes
1 answer

Regasm BHO from C# Code

I have DLL With BHO IE Plugin. And I use "regasm.exe /codebase myBHO.dll" to register my dll. Is there any C# code to regasm my DLL in windows application?
Ahmad Ronagh
  • 790
  • 10
  • 16
1 2 3
15
16