Custom COM Replacement
Overview
gmStudio has an Open Type System that allows us to recognize, interpret, store, and express information about how VB6/ASP codes use COM APIs. This includes both third-party COM APIs and controls and COM APIs and controls defined by your VB6 codes.Â
Our type system allows users to specify rules that adjust how the type system works includes
- defining custom types,
- enhancing the legacy COM API's object model, and
- mapping COM API to various .NET replacements.Â
These rules may be
- declarative using an XML notation,
- implemented using our scripting language, and
- implemented using our C# API.Â
gmStudio's open, extensible capability for COM API replacement is arguably the most powerful feature of our platform.
Additional ReadingÂ
- ComponentReplacement.pdf describes the COM upgrade methodology with examples (This content is in a PDF and not yet been reauthored as a WIKI page)
- Using RefactorLibraries Files for COM API replacement describes using RefactorLibrary files as a means of specifying COM replacements
- Support Statement: Stub Replacement describes how the tool uses support framework generation to as an initial step in COM replacements
- Author Interface Description Files describes how to generate COM API descriptions for consumption by the translator
- Incremental Upgrade Cookbook describes how to move incrementally upgrade from a local COM framework to a global on
- Samples is a high level article describing our samples. Many of these demonstrate COM API and control replacements
- gmStudio Extensions is a catalog of COM API replacement rules (and other goodies) to assist with upgrade development