在RichEdit中粘贴两次图片,RTF内容如下:{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fcharset134 \'cb\'ce\'cc\'e5;}}
\viewkind4\uc1\pard\lang2052\f0\fs18{\object\objemb{\*\objclass Paint.Picture}\objw4019\objh2594{\*\objdata
}}{\object\objemb{\*\objclass }\objw1590\objh1005{\*\objdata
}}\par看有关资料 “通过OLESaveToStream函数生成的结构体提取该对象结果值”从上面的RTF中如何获得图片对象的内容呢?
WINOLEAPI OleSaveToStream(
IPersistStream * pPStm, //Pointer to the interface on the object
// to be saved
IStream * pStm //Pointer to the destination stream to
// which the object is saved
);
\viewkind4\uc1\pard\lang2052\f0\fs18{\object\objemb{\*\objclass Paint.Picture}\objw4019\objh2594{\*\objdata
}}{\object\objemb{\*\objclass }\objw1590\objh1005{\*\objdata
}}\par看有关资料 “通过OLESaveToStream函数生成的结构体提取该对象结果值”从上面的RTF中如何获得图片对象的内容呢?
WINOLEAPI OleSaveToStream(
IPersistStream * pPStm, //Pointer to the interface on the object
// to be saved
IStream * pStm //Pointer to the destination stream to
// which the object is saved
);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货