TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Making assembly visible to a COM component
Shweta Lodha
Feb 06, 2014
6.9
k
0
1
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
You need to perform only a couple of steps to expose any assembly to COM.
The following steps are necessary to make an assembly visible to a COM component:
Set the Register for COM option under the build configuration.
Set the ComVisible attribute to true for each class you want exposed.
Set the ComVisible attribute to false for any class members you want hidden.
Set the ComVisible attribute to true for any class members that you want visible.
Making assembly visible to a COM component
Next Recommended Reading
Fix To: Retrieving the COM Class Factory for Component with CLSID Error