首页> 外国专利> Method and system for calling one of a set of routines designed for direct invocation by programs of a second type when invoked by a program of the first type

Method and system for calling one of a set of routines designed for direct invocation by programs of a second type when invoked by a program of the first type

机译:用于调用一组例程中的一个的方法和系统,该例程设计为在由第一类型的程序调用时由第二类型的程序直接调用

摘要

A method and system for providing a set of routines that may be invoked by programs of two or more types is provided. In a preferred embodiment, a group of libraries that each are able to be called by programs of a different one of the types is provided. Each of the routines is provided by a function in one of the libraries. The method and system causes all of the libraries of the group to be loaded when any of the libraries of the group are loaded. In order to invoke a routine, a program calls a function in the library of the group that is able to be called by programs of its type. If the routine is provided by a function in this library, the library provides the routine itself. If the routine is provided by a function in another library of the group, the library calls the function that provides the routine in another library of the group. In a preferred embodiment, the library causes a calling instruction to be written into the library which calls the function that provides the routine in another library of the group in order to enable the library to call the function that provides the routine in another library of the group. In a further preferred embodiment, other libraries of the group are actually loaded only when one of their functions is called to provide a routine of the set.
机译:提供了一种用于提供可以由两种或更多种类型的程序调用的例程的集合的方法和系统。在一个优选的实施例中,提供了一组库,每个库都可以被不同类型的程序调用。每个例程由库之一中的函数提供。该方法和系统导致在加载组的任何库时加载该组的所有库。为了调用例程,程序将调用该组库中的函数,该函数可以由其类型的程序调用。如果例程是由此库中的函数提供的,则该库将提供例程本身。如果例程是由该组的另一个库中的函数提供的,则该库将调用在该组的另一个库中提供例程的函数。在优选实施例中,该库使调用指令被写入到该库中,该调用指令调用在该组的另一个库中提供例程的函数,以便使该库能够调用在该组的另一个库中提供例程的函数。组。在另一优选实施例中,仅当调用其功能之一以提供该组的例程时才实际加载该组的其他库。

著录项

  • 公开/公告号US5734904A

    专利类型

  • 公开/公告日1998-03-31

    原文格式PDF

  • 申请/专利权人 MICROSOFT CORPORATION;

    申请/专利号US19940338646

  • 发明设计人 ATSUSHI KANAMORI;JON THOMASON;

    申请日1994-11-14

  • 分类号G06F9/445;

  • 国家 US

  • 入库时间 2022-08-22 02:39:52

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号