| CPC G06F 21/52 (2013.01) [G06F 21/53 (2013.01); G06F 2221/033 (2013.01)] | 20 Claims |

|
1. A method, comprising:
creating an object accessible in one of a plurality of states including a managed state and an unmanaged state, the object comprising an unmanaged layout template; and
transforming the object from the managed state to the unmanaged state responsive to a requirement by unmanaged code to access the object, the transforming comprising:
copying data from managed memory for the object to unmanaged memory for the object according to the unmanaged layout template; and
using an address of the unmanaged memory for the object to access the object in the unmanaged state.
|