×

Dynamic code generation and memory management for component object model data constructs

  • US 9,342,274 B2
  • Filed: 05/19/2011
  • Issued: 05/17/2016
  • Est. Priority Date: 05/19/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • receiving, by a browser application of a computing device, script code including receiving code representing a component object model (COM) object;

    generating a prototype of the COM object including generating a type representation including at least one dynamic type associated with the COM object;

    by a marshaling component of the computing device, prior to a request for native code representing the COM object, in response to identifying a request for at least one intermediate data structure, dynamically generate the at least one intermediate data structure tailored for dynamic COM object translation between the script code and the native code, the at least one intermediate data structure generated based on the at least one dynamic type associated with the prototype of the COM object; and

    in response to the request for native code representing the COM object, marshaling, by the marshaling component of the computing device, the code representing the COM object to the native code based on the at least one intermediate data construct.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×