Back to results
US 2008/0307446 A1Published application
Interoperable Managed and Unmanaged Code in a Document Environment
AssigneeMicrosoft Corporation
InventorIouri B Simernitski
Life of this patent
Estimating the term…
Abstract
Managed and unmanaged code may operate in a document environment by enabling managed code to be called by unmanaged code. The managed code may make functions available to unmanaged code by creating a type library and loading the type library into a running object table using a filename identifier. The filename identifier may be used by the unmanaged code to locate the type library and thereby call managed code functions.
Claims20
A method comprising:
- defining an identifier for a first group of managed code;
- defining a callable function within said first group of managed code;
- defining a type library for said callable function;
- adding said identifier to a second group of unmanaged code, said second group of unmanaged code adapted to:
- search for said type library using said identifier;
- finding said identifier in said running object table;
- loading said type library from said running object table;
- and
- calling said callable function.
6 more elements
A method comprising:
- detecting that a document has been opened, said document comprising managed and unmanaged code adapted to be executed within a document environment;
- executing said managed code, said managed code comprising an identifier and a type library;
- and
- executing said unmanaged code, said unmanaged code adapted to:
- search for said type library using said identifier;
- and
- call at least a portion of said managed code using said type library.
4 more elements
A method comprising:
- receiving an identifier for a type library within an unmanaged code environment, said type library comprising a reference to a managed code environment;
- searching for said type library using said identifier;
- finding said type library in a running object table;
- and
- making a call to said managed code environment from said unmanaged code environment using said type library.
2 more elements
Dependencies are inferred from the claim text.