Apply Your Knowledge
Exercises
8.1. Access COM Components from a Serviced Component
Accessing COM components from a serviced component is the same as accessing COM components from any .NET application. However, the RCWs referenced by serviced components should be strongly named. In this exercise you'll learn how to use the command-line options of the Type Library Importer tool to create a strongly named RCW and use it from a serviced component.
Estimated time: 20 minutes.
1. | Launch a .NET command prompt by selecting Start, Programs, Microsoft Visual Studio .NET, Visual Studio .NET Tools, Visual Studio .NET Command Prompt. |
2. | Inside the command prompt window, navigate to the folder that contains the MyCustomer.dll
COM library. |
3. | If you have already ... |
Get MCAD/MCSD Training Guide (70-320): Developing XML Web Services and Server Components with Visual C#™ .NET and the Microsoft .NET Framework now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.