5. Interface Definition Language (IDL) Baiscs
OK. Lets wait and recap for some a while. Still now we have achieved making a compiler independent DLL. The next step is to make a DLL which is truly platform independent. In the previous chapter we were able to achieve compiler interdependent library was with pure virtual base classes. That fact that this is a C++ class it defies platform independence.
Fortunately enough Open Software Foundation Distributed Computing Environment Remote Procedure Call (OSF DCE RPC) had already something in place. It already had made a language and network layer neutral mechanism. They introduced the concept of IDL and COM IDL is just an extension of the previous IDL with object oriented nature of COM such as inheritance, polymorphism etc.
Win32 SDK provides a MIDL.exe which compiles the IDL files to generate several COM artifacts. The figure below illustrates the MIDL output.
Win32 SDK provides a MIDL.exe which compiles the IDL files to generate several COM artifacts. The figure below illustrates the MIDL output.
........... be tuned .... page in progress ....
Subscribe to:
Posts (Atom)
No comments:
Post a Comment