473,396 Members | 1,693 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,396 software developers and data experts.

ATL COM server in c#

Hi,
Is it possible to write a ATL COM server in c# ?
Thanks
Manoj
Nov 17 '05 #1
4 1613

"Manoj" <mn*********@hotmail.com> wrote in message
news:O1**************@TK2MSFTNGP10.phx.gbl...
Hi,
Is it possible to write a ATL COM server in c# ?
Thanks
Manoj


No. ATL is a template library for C++ only and obviously not usable from C#.
If you really need to author COM servers you should use VC++ with ATL.

Willy.
Nov 17 '05 #2
In message <eq**************@TK2MSFTNGP09.phx.gbl>, "Willy Denoyette
[MVP]" <wi*************@telenet.be> writes

"Manoj" <mn*********@hotmail.com> wrote in message
news:O1**************@TK2MSFTNGP10.phx.gbl...
Hi,
Is it possible to write a ATL COM server in c# ?
Thanks
Manoj


No. ATL is a template library for C++ only and obviously not usable from C#.
If you really need to author COM servers you should use VC++ with ATL.


Is there anything you could achieve doing this that you couldn't using
C# and EnterpriseServices?

--
Steve Walker
Nov 17 '05 #3

"Steve Walker" <st***@otolith.demon.co.uk> wrote in message
news:3p**************@otolith.demon.co.uk...
In message <eq**************@TK2MSFTNGP09.phx.gbl>, "Willy Denoyette
[MVP]" <wi*************@telenet.be> writes

"Manoj" <mn*********@hotmail.com> wrote in message
news:O1**************@TK2MSFTNGP10.phx.gbl...
Hi,
Is it possible to write a ATL COM server in c# ?
Thanks
Manoj


No. ATL is a template library for C++ only and obviously not usable from
C#.
If you really need to author COM servers you should use VC++ with ATL.


Is there anything you could achieve doing this that you couldn't using C#
and EnterpriseServices?

--
Steve Walker


Could be, but that depends on what OP expects from ATL.
Agreed, if he needs to expose some business objects to COM clients, he could
go with C# the FCL and use EnterpriseServices to build a COM server.
But if he needs to build an ActiveX control or an OLE Automation server,
then ES and C# might not be an option.

Willy.


Nov 17 '05 #4
In message <uS*************@TK2MSFTNGP12.phx.gbl>, "Willy Denoyette
[MVP]" <wi*************@telenet.be> writes

"Steve Walker" <st***@otolith.demon.co.uk> wrote in message
news:3p**************@otolith.demon.co.uk...
In message <eq**************@TK2MSFTNGP09.phx.gbl>, "Willy Denoyette
[MVP]" <wi*************@telenet.be> writes

"Manoj" <mn*********@hotmail.com> wrote in message
news:O1**************@TK2MSFTNGP10.phx.gbl...
Hi,
Is it possible to write a ATL COM server in c# ?
Thanks
Manoj

No. ATL is a template library for C++ only and obviously not usable from
C#.
If you really need to author COM servers you should use VC++ with ATL.
Is there anything you could achieve doing this that you couldn't using C#
and EnterpriseServices?

Could be, but that depends on what OP expects from ATL.
Agreed, if he needs to expose some business objects to COM clients, he could
go with C# the FCL and use EnterpriseServices to build a COM server.
But if he needs to build an ActiveX control or an OLE Automation server,
then ES and C# might not be an option.


Ah, of course, thanks. When people say "COM server", I automatically
think MTS/COM+/EnterpriseServices.

--
Steve Walker
Nov 17 '05 #5

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

Similar topics

2
by: Mike | last post by:
Hi, I am strugling with a simple problem which I can't seem to resolve. I have an asp.net page which contains a server-control (flytreeview, which is a kind of a tree to be exact). The tree is...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
14
by: Developer | last post by:
Hello All, i have recently installed VS2005 and was trying to install SQL sever 2000. I have Win XP' SP2. But when I tried installing, it only installed client tools and not the database. Can...
1
by: PALLAVI SHARMA | last post by:
Sir, i have configure the ms access file on webserver. MS. Access file is showing in .../db/mohan.mdb on web server. could you tell me what path should in write in my language to update the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.