Patents
US 8,776,097 B2#61391165 Most CitedActiveUnited States (USPTO)Utility

Dynamic native binding for managed assemblies

1Forward Citations (#61391165 Global)
0.1/yrCitation Velocity (#49638069 Global)
0.75Citation PageRank (#61391165 Global)
12Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method, apparatus, system, article of manufacture, and computer readable storage medium provides the ability to dynamically bind a native assembly from a managed assembly. A managed assembly (e.g., a dynamically linked library (DLL)) is obtained. In the managed assembly, native application program interface entry points are identified. For each of the entry points, intended platform(s) and associated correct native assembly(ies) are specified in the managed assembly. The managed assembly is deployed onto a computer. For example, the single collection of managed and native assemblies can be deployed to all targeted computers, which consist of varying platform environments. During runtime execution, the executing platform of the application is determined. Based on the executing platform, an intended platform is selected and the entry points are bound to the correct native assembly.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 1.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer implemented method for dynamically binding a native assembly from a managed assembly, comprising: obtaining a managed assembly comprising a dynamic linked library (DLL); identifying, in the managed assembly, one or more native application program interface entry points; for each of the one or more native application program interface entry points, specifying, in the managed assembly: one or more intended platforms; and for each of the one or more intended platforms, an associated correct native assembly; deploying the managed assembly onto a first computer; and during runtime execut

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Cited By — Indexed Forward Citations (1 of 1 total)

Non-Patent Literature (5)

  • "DIIImportAttribute Class", .NET Framework Class Library, 2010, http://msdn.microsoft.com/en-us/library/system.runtime.interoservices.dllimportattribute.
  • "Setting dllimport programatically in c#", Nov. 17, 2009, http://stackoverflow.com/questions/1319849/setting-dllimport-programatically-in-c.
  • International Search Report mailed Jan. 6, 2012, International application No. PCT/US2011/051619.
  • Namdn, "Dynamic Invoke C++ DLL function in C#", Jun. 26, 2008, http://www.codeproject.com/KB/cs/DynamicInvokeCSharp.aspx.
  • Pregemik, Fran, "DLLImport with dynamically bound native DLLs using Reflection", Aug. 13, 2005, http://www.codeproject.com/KB/dotnet/DynamicDIIImport.aspx.