comvisible Questions

4

Solved

I have .NET assembly with some classes marked as ComVisible This assembly is registered with regasm /codebase "assembly_path" I have app.config name (actually - MyAssemblyName.dll.config) which ar...
Sashenka asked 28/12, 2011 at 13:10

1

Solved

I have a COM-visible DLL written in C# that I would like to use in a VB6 application. I have two main use cases of the DLL and am wondering when the /codebase option is applicable and when it is be...
Architectonics asked 29/5, 2014 at 17:50

2

Solved

MSDN has this article about [ComVisible] attribute. I don't quite get what happens when one sets [ComVisible(true)]. MSDN says The default is true, which indicates that the managed type is visi...
Golf asked 28/3, 2013 at 17:30

1

Solved

An assembly in a project has a type marked with ComVisible(true). When building (non-elevated), VS tries to register that DLL and fails: Cannot register assembly "\path\to\foo.dll" - access denie...
Weinhardt asked 24/3, 2011 at 11:20

3

Solved

I've made a simple C# DLL (that's part of a much larger project) using VS2005. I need to use the DLL in Excel via VBA code so I am using COM Interop on the assembly. I am trying to make the build p...
Sedgewinn asked 12/5, 2009 at 16:1

3

Solved

When you create a new C# project in Visual Studio, the generated AssemblyInfo.cs file includes an attribute specifying an assembly GUID. The comment above the attribute states that it is used "if t...
Magnuson asked 27/2, 2010 at 8:2

2

Solved

I want to expose a .NET class to COM. That's fairly easy: I create an interface in where I define the members of that class that should be ComVisible I define the DispId's of those members myself...
Instructor asked 31/12, 2009 at 13:39

1

Solved

i'm converting C++ to C++/CLI and would like to expose some managed classes as COM objects. In C# it was easy and setting [ComVisible] & inheriting from interface (also ComVisible) did the job....
Tripersonal asked 10/8, 2009 at 17:8

1

Solved

I have the following interface which I'm trying to make COM-visible. When I try to generate the type-library it doesn't like the fact that my implementation class derives from a generic-class. Is...
Secessionist asked 25/9, 2008 at 17:15
1

© 2022 - 2024 — McMap. All rights reserved.