|
-
March 25th, 2007, 04:24 PM
#1
How to write program in C# that will act exactly as COM object ?
Hi All,
I need to write some GUI application in MFC that will be able to support some COM call from other application.
I want to do it in C# beside MFC - but i don't know how can i write in C# and support all logical architecture that i have in COM.
How can i register the application ?
How can i define some call from other application ?
Thanks for any help.
-
March 25th, 2007, 06:23 PM
#2
Re: How to write program in C# that will act exactly as COM object ?
Look at the [COMVisible] attribute. That will give you a starting point.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
March 25th, 2007, 11:19 PM
#3
Re: How to write program in C# that will act exactly as COM object ?
Also look up RegAsm.exe as well as here.
Darwen.
-
March 26th, 2007, 02:50 AM
#4
Re: How to write program in C# that will act exactly as COM object ?
Bogdan
If someone helped you then please Rate his post and mark the thread as Resolved
Please improve your messages appearance by using tags [ code] Place your code here [ /code]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|