实时动态模拟环境中多任务间的数据共享

The Data Sharing of Multitasking in the Real-time Dynamic Simulation Environment

  • 摘要: 根据不同应用程序之间有共享数据的要求,针对Windows NT系统和VC++的特点,提出通过动态链接库提供共享数据的方法,解决了Windows NT系统下实时动态模拟环境中多任务间数据共享,结果使各应用程序共同使用一个动态链接库,而需要共享的数据在该库中定义,达到了共享的目的。且也使不同语言的应用程序之间达到共享数据。通过地址访问方式还可以使各个应用程序通过间接访问方式使用共享数据。该方法简便、实用性强。

     

    Abstract: Owing to the demand of the data sharing between different application programs, based on the feature of Windows NT and VC++, a method for data sharing by using DLL is proposed. The method solves the problem of data sharing of multitasking on real-time dynamic simulation environment for Windows NT. The shared data are defined in one DLL file and which can be shared by every application program, even the application program with different languages. The application program can also access the shared data indirectly. The method is convenient and useful.

     

/

返回文章
返回