联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 DLL_Callback: Sample for asyncronous inn - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为18996
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • Air Traffic Controller
  • PoolMan
  • virtualdub-win
  • Apache-SSL-Jserv
  • CppUnit
  • GLgraph
  • FCK editor
  • Async Professional
  • -= 更多 =-

    项目描述:
    This sample demonstrates the use of asyncronous inner-process operations.
    In this case we have an app that wants to get data from a DB,
    which could take a undefined long amount of time.
    The app wants to do other work while waiting for the result of the DB-Call.
    It calls the "GetDBData()"-function, which returns immediately.
    After the DLL-function has done its work, it notifies the caller app
    via the CALLBACK-function "DataReadNotify()".
    这个例子演示了匿名进程内操作的使用方法。当我们的应用程序需要从一个数据库中获取数据时,可能需要不确定的时间,在等待数据库调用的结果时,应用程序可能需要做其它的事情。它调用"GetDBData()"函数,立即返回结果。在DLL函数完成工作之后,它使用回调函数"DataReadNotify()"通知调用的应用程序。
    来源: http://www.codeguru.com/dll/DLL_Callback.html
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    DLL_Callback  1.0  2004-03-14 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/dll/DLL_Callback.zip

      » 合 作 伙 伴