Chapter Summary

 < Free Open Study > 



This chapter has illustrated how COM fulfills the promise of language independence through type information and IDL. You have seen how the MIDL compiler generates language-neutral type libraries as well as C and C++ specific language bindings. Simply by describing our servers in IDL we suddenly are able to have Visual Basic, Java, C++, and numerous other languages access our coclasses.

You have seen how to create interface, coclass, and library definitions in IDL using attribute-based programming. This will serve as your baseline for more advanced IDL constructs introduced throughout the remainder of this book.

Furthermore, you have gained enough knowledge of VB and Java syntax (if you did not have it already) to allow you to build clients in these languages, as well as a better understanding of what is taking place under the hood.

In the next chapter you will learn how to make use of the remaining MIDL-generated output and create an out-of-proc (EXE) and remote (DCOM) version of your CoCar server.



 < Free Open Study > 



Developer's Workshop to COM and ATL 3.0
Developers Workshop to COM and ATL 3.0
ISBN: 1556227043
EAN: 2147483647
Year: 2000
Pages: 171

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net