我用ATL做一个控件,可以嵌入在word里面,请问在ATl里面如何持久化数据?给出点示例代码,100分,谢谢!

littleroy 2005-12-16 09:19:16
同上!
...全文
168 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
蒋晟 2005-12-24
  • 打赏
  • 举报
回复
http://support.microsoft.com/default.aspx?scid=%2Fservicedesks%2Fwebcasts%2Fen%2Fwc010600%2Fwct010600.asp

While they do provide one of the leanest implementations of an ActiveX control, they only have a minimal number of interfaces implemented. And those interfaces are only the ones that are needed to function properly inside of a Web browser. This means ATL Lite controls will fail in containers like Word, Excel, and Test Container, which require more interfaces for proper operation.

Reference:
PRB: ATL Control Properties Do Not Persist when Embedded in Word
http://support.microsoft.com/kb/q241936/
Microsoft Office Development with Visual Studio
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/html/vsofficedev.asp
loveghb 2005-12-24
  • 打赏
  • 举报
回复
少了个'没'字
;)
loveghb 2005-12-24
  • 打赏
  • 举报
回复
我想我必要多说了
pomelowu 2005-12-16
  • 打赏
  • 举报
回复
http://www.vckbase.com/document/viewdoc/?id=1546

3,248

社区成员

发帖
与我相关
我的任务
社区描述
ATL,Active Template Library活动(动态)模板库,是一种微软程序库,支持利用C++语言编写ASP代码以及其它ActiveX程序。
社区管理员
  • ATL/ActiveX/COM社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧