Talk:Object Linking and Embedding
From Wikipedia, the free encyclopedia
This article is part of the WikiProject .NET. |
Questions about the concepts, about how embedding works, from someone who hopes for an answer in not terribly technical language - 1. Say I embed a video from the Google Video site on my school's Dance History page and then view it from my home computer - whose bandwidth is in use? 2. If I view a video on the Google site, whose bandwidth is used? Both mine and Google's, or just Google's or just mine? 3. Does linking to a video and embedding a video mean the same thing in terms of bandwidth? Thanks -
i'd like to know the difference between java and OLE
- What's the difference between a can opener and a sperm whale? You are talking about fundamentally different things, listing the difference would be meaningless. Read the Wikipedia articles for Java programming language and Object linking and embedding and you will be enlightened. Nixdorf 13:49, 2004 Dec 21 (UTC)
Contents |
[edit] Virtual table
- The VTBL concepts pioneered in OLE 1.0 later evolved to become an architecture for software components known as the component object model (COM), and later DCOM.
The virtual table concept is an inevitable part object-oriented languages, so ... because C++ is older than OLE I doubt that virtual tables pioneered at OLE. A usage of virtual tables for interfacing components could be first in OLE, or perhaps just Microsoft's first use may be in OLE. But I do not know for sure. Unless someone with better knowledge refomulates the sentence, I will remove it after week. --Alvin-cs ✉ 21:51, 13 November 2005 (UTC)
[edit] Microsoft renamed the OLE 2.0 technology to ActiveX
Thats wrong guys :). ActiveX is a small and lightweight subset of OLE 2 for GUI controls implementation in web browsers. MSDN still uses both terms, f.e. "An ActiveX control is implemented as an in-process server (typically a small object) that can be used in any OLE container." http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/_core_activex_controls.asp
or "A Microsoft ActiveX control is essentially a simple OLE object that supports the IUnknown interface." http://msdn.microsoft.com/workshop/components/activex/activex_node_entry.asp
- You're right ActiveX referred to controls--but not specifically for implementation in web browsers. ActiveX controls were just OLE based custom controls for use in development in Visual Basic, Visual C++, etc. The implementation in web pages came later, though its where the term became known
[edit] Windows System Registry / Registration Database
OLE2 / COM / DCOM and device driver software make heavy use of the binary dot DAT files known as the MS Windows system registration database. The database or registry consists of about 5 trees (Windows internal data structures). Microsoft terms these trees as Hives. The root names of these Hives are as follows: HKEY_CLASSES_ROOT, HKEY_CURRNT_USER, HKEY_LOCAL_MACHINE, HKEY_USERS, and HKEY_CURRENT_CONFIG. The H stands for Hive. These hive root keys have aliases HKCR, HKCU, HKLM, HKU ?, and HKCC. It is possible to load or connect remotely to other hives. Microsoft Windows Win32 has an application programming interface (API) named the Registry-API. The registry can store number values, true/false values, strings, and binary data. For more recent versions of Windows, certain parts of the registry are "protected" from Registry editor tool access and normal Registry-API calls by plain user programs. This is a form of security, and copy protection.
For OLE2 / COM / DCOM all of the objects, file classes, and so on, have handlers, and interfaces, and various other entries in this registry / database. Each of these items is identified using a Globally Unique Identifier or GUID. Using Microsoft development tools such as Visual Studio and Visual C++, software targeted to use with OLE2 / COM / DCOM that uses drag-and-drop, in-place activation (OLE2 object hosting), etc, has its interfaces, objects, and so on automatically have GUIDs generated for them and registered in the software developer's Windows registry. There is a command line tool "GUIDGEN" (or similar) that can generate GUID hexadecimal strings on demand for the user for use in such software development.
When OLE2 / COM / DCOM software is distributed to other users, either the installation software or the running program itself can register all of this information in the Windows registry of the user's system. These modifications can have the new software take over handling of all sorts of file and mime types not necessarily authorized or intended by the user. If no backup of the registry is made, the settings have to be reset either by uninstalling the new software, re-installing the previous software, importing some sub-key registry file settings from a known "properly working" computer (running the same Windows version and application software), or by manually tinkering with the registry settings using the Registry Editor and consulting reliable information on the internet about the settings that require changing.
Manually changing the registry can be disastrous when entries for device driver software, or file system access methods get corrupted. Usually Windows will save the last working copy of registry files during shutdown, and write the newest working configuration to the latest version files. In addition Windows Backup can save a copy of the registry files to a standard backup folder on the system. A "Windows Recovery" diskette (made by Windows Backup) can help boot the system by making use of this Windows Backup folder of registry files. Registry setting changes (new software settings and installations) that were made after the backup was performed are then lost and must be redone / reinstalled. This situation can result in system files / drivers not matching the information from an old copy of the registry. A reinstallation of sets of CD service packs may be required to insure your system has the majority of its driver files in correct correspondence. Web "Windows Update" changes may subsequently also have to be reapplied. This is why it is useful to backup the registry on a timely basis. Oldspammer 11:52, 23 September 2006 (UTC)
[edit] OCX
The OCX redirect violates the rule requiring editors to mention the redirect in the document, "preferably in the first couple of paragraphs". I followed OCX here and there is no explanation of why I arrived at the OLE article. -76.4.49.201 19:47, 15 January 2007 (UTC)