中国开发网: 论坛: 程序员情感CBD: 贴子 286302
王中王: VCL封闭一些COM对象的时候,往往会把原始的对象、接口通过属性的方式暴露出来
以供对Com对象的直接调用,就好象TCanvas封装了相关的Window API,但也会把Handle公布出来,可以直接使用API来操作这个Handle,在易用的封装之外再提供一种灵活的调用方式,以防封装过程损失了原有的功能。
IDomDocument也是这回事。BCB的帮助中都说了:Most applications do not need to use the DOMDocument property directly. Instead, it supplies the underlying support for parsing and manipulating the nodes accessed through DocumentElement. If you do want to make use of DOMDocument抯 low-level support, you must be familiar with the W3C Document Object Model (DOM) Level 1 Specification.

如果直接使用IDOMDucument,就和VCL的封装没有关系了,都是COM的事了。
http://wangzw.wordpress.com/
个性化台历、日历制作
http://shop33697570.taobao.com/

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录