Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 22nd, 2005, 05:54 AM
Registered User
 
Join Date: Jun 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to write the COM components in C#

I want to write the COM components in C#!
But I don't know how to write it!
Please tell me about it!
Please give me some source demo!

Thank you!

 
Old June 22nd, 2005, 06:11 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

When you create a .NET assembly, you can register the assembly to work with COM by using the regasm program that comes with the .NET SDK. In visual studio you can just check the box in the project configuration that says "Register for COM interop". Then you COM applications can consume the .NET assembly classes.

-Peter
 
Old June 22nd, 2005, 08:19 PM
Registered User
 
Join Date: Jun 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Existing Components Thami SQL Server 2005 0 August 8th, 2008 02:51 AM
Difference between Trace.write and Debug.write surendraparashar ASP.NET 2.0 Professional 1 June 27th, 2007 02:12 AM
COM+ components registration ajindal General .NET 1 September 1st, 2006 03:31 AM
charting components? jhughes96 Visual Studio 2005 1 April 3rd, 2006 12:00 PM
Accesing Com+ components from c# txerra C# 1 June 22nd, 2005 06:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.