Storing Paint Brush images in a Access - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
This example demonstrates how to store a "Paint Brush" image in a Access DB. In my code I have created a CDaoRecordset derived class for handling and reading the binary data. Class Wizard binds a CLongBinary to the Ole Object field when creating the recordset. CLongBinary is difficult to manage, so in the recordset, that is to receive the binary data, I bind a CByteArray variable to the field.
在一个Access数据库中存储"Paint Brush"图像
这个例子示范如何在一个Access数据库中存储"Paint Brush"图像。 在我的代码中我创建了一个继承自CDaoRecordset的类来操作二进制数据。 当创建记录集的时候,类向导绑定了一个CLongBinary类到Ole 对象。在记录集中,CLongBinary对接收二进制数据的处理是很困难的,因此在这个域中绑定了一个CByteArray变量。
来源: http://www.codeguru.com/mfc_database/storing_paintbrush_in_accessdb.shtml |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
storing_paintbrush_in |
 1.0  |
2004-04-18 |
下载 |
|
|