Search This Blog

Saturday, January 30, 2010

Registries Lesson #1

09:01:00PM, 30/01/10 AEST-09:26:00PM, 30/01/10 AEST

Well, registries are mentioned on HackerPort, but I am NOT copying okay?

Registries are almost an enigma of Windows, they are basically shadowy, not mentioned data repositories for Windows.

Right, goto Start Menu>All Programs>Accessories>Run. In run type in REGEDIT (or regedit, it doesn't matter what case). Now, you should have arrived in My Computer with a tree dialog looking something like this:

My Computer
     HKEY_CLASSES_ROOT
     HKEY_CURRENT_USER
     HKEY_LOCAL_MACHINE
     HKEY_USERS
     HKEY_CURRENT_CONFIG
Now lets explain...

HKEY_CLASSES_ROOT is where the basic, fundamental Windows User Interface (Graphical User Interface and Command-line User Interface, etc.). File mapping for certain application settings, OLE (Object Linking and Embedding), etc. 

Now OLE is Microsoft's framework for a compound document technology. Briefly, a compound document is something like a display desktop that can contain visual and information objects of all kinds: text, calendars, animations, sound, motion video, 3-D, continually updated news, controls, and so forth. Each desktop object is an independent program entity that can interact with a user and also communicate with other objects on the desktop. Part of Microsoft's ActiveX technologies, OLE takes advantage and is part of a larger, more general concept, the Component Object Model (COM) and its distributed version,DCOM. An OLE object is necessarily also a component (or COM object).
Some main concepts in OLE and COM are:

Microsoft terms are shown first; industry or alternative versions of those terms are shown in parentheses:
ConceptWhat it is
OLEA set of APIs to create and display a (compound) document
Document (compound document)A presentation of different items in an "animated desktop"
Item (object; also called a component)An element in a document, such as an animated calendar, a video window, a sound player, a sound file...
Container or container applicationThe program entity that holds a document or a control
Server or server applicationThe program entity that holds an item within an OLE container
EmbeddingAdding the source data for an item to a document; use the Paste command in a container application
LinkingAdding a link to the source data for an item to a document; use the Paste Link command in a container application
Visual editingActivating an item that is embedded in a document and "editing" it
AutomationHaving one container or server application drive another application
Compound files (structured storage)A standard file format that simplifies the storing of (compound) documents; consists of storages (similar to directories) andstreams (similar to files)
Uniform Data Transfer (UDT)A single data transfer interface that accommodates drag-and-drop; clipboard; and dynamic data exchange (DDE)
Component Object Model (COM)Provides the underlying support for OLE items (objects) and ActiveX controls to communicate with other OLE objects or ActiveX controls
ActiveX ControlAn item (object) that can be distributed and run on top of a COM
Microsoft Foundation Class (MCF) libraryA set of ready-made classes or templates that can be used to build container and server applications

says that OLE contains about 660 new function calls or individual program interfaces in addition to those already in Win32. For this reason, Microsoft provides the Microsoft Foundation Class (MFC) Library, a set of ready-made classes that can be used to build container and server applications, and tools such as Visual C++.
In the "Introduction to OLE" on its Developer Site, Microsoft says that "OLE" no longer stands for "Object Linking and Embedding," but just for the letters "OLE."

For more lessons check the rest of the blog.




No comments:

Post a Comment