That wraps up our coverage of some of the new COM+ features. Next, we’re going to take a quick look at what changes are being added to Visual C++.NET to make developing COM+ applications easier. However, instead of implementing these features in the COM+ runtime and exposing them to tools such as Visual C++, a shorter-term solution was used, which is described below.
The COM+ features we’ve been discussing are great, but as C++ developers we still need some way to harness all these features. Writing COM services in C++ is still a bit tedious, although ATL has made it much easier. Developing COM+ services with C++ is difficult because the COM and C++ programming models don’t exactly “mesh.” Frameworks like ATL make development easier, but they still require some knowledge of low-level COM. The Visual C++ and ATL teams have joined together to make COM development easier through something called attribute-based programming.
Comments