Description: 本程序对三种操作数据文件的方法进行测试,MFC的CArchive、STL的流和文件映射的CreateFileMapping,经过比较发现对数据文件的载入和存储速度,都是MFC>映射>STL,可见MFC的CArchive是进行数据文件操作的最佳选择!-procedures for the operation of the three data files, the method for testing the CArchive MFC, STL flow and document mapping CreateFileMapping, after comparison of the data contained in the document storage and speed are MFCgt; Mapping gt; STL, MFC CArchive Visibility data is the best file manipulation choice! Platform: |
Size: 165664 |
Author:张效栋 |
Hits:
Description: 本程序对三种操作数据文件的方法进行测试,MFC的CArchive、STL的流和文件映射的CreateFileMapping,经过比较发现对数据文件的载入和存储速度,都是MFC>映射>STL,可见MFC的CArchive是进行数据文件操作的最佳选择!-procedures for the operation of the three data files, the method for testing the CArchive MFC, STL flow and document mapping CreateFileMapping, after comparison of the data contained in the document storage and speed are MFCgt; Mapping gt; STL, MFC CArchive Visibility data is the best file manipulation choice! Platform: |
Size: 164864 |
Author:cgzszhang |
Hits:
Description: 利用内存映射原理实现的同时只能运行一个实例的例子,并可以自动激活最后运行的一个实例,你也可以指定最多可以同时运行实例的数量-Realize the principle of the use of memory-mapped at the same time can only run one instance of the example, and can automatically activate an instance of the last run, you can also specify the maximum number of instances running at the same time Platform: |
Size: 192512 |
Author:赵丽华 |
Hits:
Description: 使用CreateFileMapping方式实现的文件查找修改。-CreateFileMapping way to use the document search modified. Platform: |
Size: 52224 |
Author:wang jingquan |
Hits:
Description: 与另一个应用程序共享数据,使::CreateFileMapping() Windows API建立一段交换文件(swap file),与其他应用程序共
享-With another application to share data, so that:: CreateFileMapping () Windows API to establish a section of the exchange of documents (swap file), shared with other applications Platform: |
Size: 19456 |
Author:wangying |
Hits:
Description: 内存映射文件,是由一个文件到一块内存的映射。Win32提供了允许应用程序把文件映射到一个进程的函数 (CreateFileMapping)。-Memory-mapped file is from a file to a memory map. Win32 provides the permit application process, the file is mapped to a function (CreateFileMapping). Platform: |
Size: 84992 |
Author:james_z |
Hits:
Description: delphi 不同进程之间数据交换。采用CreateFileMapping实现的共享内存-the delphi different process data exchange. Using CreateFileMapping implementation of shared memory Platform: |
Size: 693248 |
Author:自开 |
Hits:
Description: VB共享内存代码,可以使用C++的CreateFileMapping进行通讯,The VB shared memory code, you can use C++ CreateFileMapping communicate Platform: |
Size: 176128 |
Author:linweizhe |
Hits:
Description: 用内存映射文件的方式读取TXT文件,并且是一行一行的读取。网上一些其他类似的源码,有的存在问题,有的是用MFC完成的。我的是控制台程序,短小清晰。-Read TXT files, memory-mapped file and read line by line. Online some other similar source, some problems, some complete with MFC. I console program, clear and short. Platform: |
Size: 264192 |
Author:diouf3 |
Hits:
Description: C++ 使用共享内存实现进程间通信。
文件映射是一种实现进程间单向或双向通信的机制。它允许两个或多个本地进程间相互通信。为了共享文件或内存,所有的进程必须使用相同的文件映射的名字或是句柄。
为了实现共享文件,第一个进程先调用CreateFile方法。接下来调用CreateFileMapping方法来创建一个文件映射对象。并为文件映射指明一个句柄和名称。由于事件,信号,互斥对象和文件映射等这些内核对象都共享同一个名字空间,所以如果这个名字和其他一个对象的名称重名的话那么将创建失败。-C++ use shared memory to achieve inter-process communication Platform: |
Size: 2048 |
Author:mechain |
Hits:
Description: VC利用内存映射文件处理大文件,可以很好的解决大文件数据处理的问题-VC using memory-mapped file handling large files, can be a good solution to the problem of large files of data processing Platform: |
Size: 18432 |
Author:张蓓蕾 |
Hits: