Interoperable Managed and Unmanaged Code in a Document Environment
First Claim
Patent Images
1. 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.
2 Assignments
0 Petitions
Accused Products
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.
15 Citations
20 Claims
-
1. 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. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. 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. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14)
-
-
15. 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. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification