Error-code and exception-based function dispatch tables

Patent №

US 8,935,686

Granted

2015-01-13

Filed 2012

Owner

MICROSOFT CORPORATION

AI components

1

hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

13596303

A condition detected by a virtual routine may be treated by setting an error code or raising an exception, depending on circumstances. Enhanced vtable layouts promote availability of both error-ID-based and exception-based virtual routines, while maintaining compatibility. Compilers treat virtual routines based on their circumstances. One enhanced vtable includes error-ID-based routine pointers in a COM-layout-compatible portion and exception-based routine pointers in an extension. For a virtual routine not overridden by a derived class, a compiler generates a direct call. For an object instance of a specific type, the compiler generates a direct exception-based call for the object's routine. For a factory-sourced object's routine, the compiler generates a virtual exception-based call. When the virtual routine belongs to a component having an enhanced vtable, the compiler may generate a virtual call using the exception-based routine pointer. Code wrappers between COM and native format may also be used.

AI hardwareG06F 11/0718G06F 9/449G06F 11/0772G06F 8/41

AI classification

AI hardware1.00
Natural language0.01
Knowledge representation0.00
Speech0.00
Planning0.00
Evolutionary computation0.00
Vision0.00
Machine learning0.00

Ownership

MICROSOFT CORPORATION

assignment · 288650321

Assignors

BREWIS, DEON, SPRINGFIELD, JAMES, MADHUGIRI, SRIDHAR S.

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC