Learning DCOM by Thai Thuan
Author:Thai, Thuan [Thuan L. Thai]
Language: eng
Format: epub
Tags: COMPUTERS / Programming / Object Oriented
ISBN: 9781449308681
Publisher: O'Reilly Media, Inc.
Published: 2011-04-03T16:00:00+00:00
Add COM objects into your component. These are the objects that can be used by external clients.
Add the necessary interfaces to a COM object and implement them.
Build and register the component.
Creating a Component
Since you’ve already learned how to create dynamic linked library and normal executable components, we’re going to do something different in this chapter. You’ll create an NT service that acts as an OCR server. Recall that an NT service can start up by itself when the machine is powered up. This can be an advantage after a power outage, at which time the machine powers itself back up, allowing your service to automatically come back to life. This is nice since it can happen without the need of an administrator.
However, this problem doesn’t apply to COM components, because components can be dynamically activated. In other words, the SCM will launch the correct component upon client request even if the component was not an NT service. From the COM perspective, there is really no reason why we’re creating an NT service other than the fact that the ATL COM AppWizard allows us to create this kind of component by simply checking a box. By checking this option, all the necessary code for an NT service is generated for you. Knowing this, even if you don’t want to use COM, you can take advantage of this option to generate the underlining code for a regular NT service executable.
Before you build this component, you should take note that the screen shots shown throughout this book may differ slightly from the ones that you see on your computer monitors. This is because new features will continue to be added as ATL and MFC evolve.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Coding Theory | Localization |
Logic | Object-Oriented Design |
Performance Optimization | Quality Control |
Reengineering | Robohelp |
Software Development | Software Reuse |
Structured Design | Testing |
Tools | UML |
Deep Learning with Python by François Chollet(12612)
Hello! Python by Anthony Briggs(9931)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9806)
The Mikado Method by Ola Ellnestam Daniel Brolund(9799)
Dependency Injection in .NET by Mark Seemann(9355)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8317)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7777)
Grails in Action by Glen Smith Peter Ledbrook(7711)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7573)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(7253)
Microservices with Go by Alexander Shuiskov(7026)
Practical Design Patterns for Java Developers by Miroslav Wengner(6930)
Test Automation Engineering Handbook by Manikandan Sambamurthy(6880)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6432)
Angular Projects - Third Edition by Aristeidis Bampakos(6296)
The Art of Crafting User Stories by The Art of Crafting User Stories(5820)
NetSuite for Consultants - Second Edition by Peter Ries(5752)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(5563)
Kotlin in Action by Dmitry Jemerov(5080)
