473,399 Members | 3,603 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Registering for COM Interop

PGP
I have an assembly i need to register for COM interop. This assembly has
other assembly dependencies that need not be visible to COM. Although, when
i turn on "Register for COM Interop" in the project setting for the target
assembly and compile, it gives me an error "COM Interop registration failed.
Could not find a type library for assembly <dependent assembly>"

Is there a way to not have the dependent assembly registered for COM
interop?

TIA
Priyesh
Jan 18 '08 #1
2 1614
Are you using any Types from the dependent registry in the public
interface of the assembly you want to register? Try marking those
members (or whole classes) with [ComVisibile(false)]

Marc
Jan 18 '08 #2
PGP

"Marc Gravell" <ma**********@gmail.comwrote in message
news:e6**********************************@z17g2000 hsg.googlegroups.com...
Are you using any Types from the dependent registry in the public
interface of the assembly you want to register? Try marking those
members (or whole classes) with [ComVisibile(false)]

Marc
Marc,

I tested your suggestion with one of the dependencies and it works
correctly. Thanks for the information.

Regards
Priyesh
Jan 18 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Roy | last post by:
Hi all, I have the following issue: I have a .net assembly that I need registered in the GAC as well as registered for COM interop (using gacutil). When I deploy it to clients I register it with...
1
by: wesley | last post by:
Hello, I have managed dll which I want to register as LocalServer, I am under the impression that using regasm is registering the COM component in InProc. Is there a way to register the COM...
0
by: Lars von Wedel | last post by:
Hello, I am developing a module using C# which serves as a plugin with a COM interface for a couple of weeks now. Everything works fine until this morning: without knowing what I changed...
6
by: Daniel Bass | last post by:
The scenario: ------------- I've created a simple COM object according to a tutorial I found: http://www.csharphelp.com/archives/archive281.html It automatically creates a Type Library...
6
by: ian | last post by:
Hi All I have a DLL (nahd.dll) that has been supplied to me will a PBX phone system. According to the documentation it is to allow developers to write there own applications to monitor the...
0
by: Dan Bass | last post by:
One day, out of the blue, anything COM interop related stopped building. When building any project (VB / C#) that has a COM interop interface (my own home grown projects, or a Visual Studio .Net...
3
by: InteropNut | last post by:
Hi, My ASP.NET application uses the MSOWCF.dll COM component (ms office functions) and it works fine on my computer with MS Office installed. But I am trying to upload the application to my web...
2
by: Todd | last post by:
Hi Guys, Ive hit a problem that I just can't find a solution to... Ive created an application that downloads images from a digital camera. The application is written in C# and uses the WIA...
12
by: cfps.Christian | last post by:
I've got a nice little deadline here and have to deal with the dumbest things possible to get it done. I had to create an application that is spliced into another application via an event handler...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.