9.9. Manual Binding with Implicit Handles
Compatibility Note: All of the code in this section is configured so that it will work identically in Windows 98, Windows 2000, and any combination of Windows 98 and Windows 2000 pairs on a TCP/IP network. Note that you must change the machine name in conclnt.cpp (Listing 9.12) from "localhost" to a specific machine name and recompile in order for this code to work across the network.
Auto handles, which were used in the example code described previously, are nice because they make the client code extremely simple. However, auto handles are inefficient when you need to make multiple calls to the RPC server. With auto handles, each call to the server means that the RPC client first binds to the RPC server, ...
Get Win32 System Services: The Heart of Windows® 98 and Windows® 2000 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.