⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 subject_36155.htm

📁 一些关于vc的问答
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<blockquote><p>
回复者:dr0 回复日期:2003-04-12 22:15:40
<br>内容:我觉得class factory可以返回不同的类型的object,内聚可以在得到object后再返回不具有is-a关系的object,这两者有什么具体用途和差别?<BR>// i can not understand what are u saying
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:xiongli 回复日期:2003-04-12 22:16:40
<br>内容:// NO. COM dll only exports DllGetClassObject() etc. <BR>// The interface (your virtual function set) is used with *.h file or typelib.<BR>// Because a method of the COM interface is called by the offset into the <BR>// method pointer table (or u can call VTable in c++)<BR>// So u can not call it : [export virtual functions]<BR>// the concept is confused.<BR><BR>我是这样理解的,怪我没有表达清楚<BR><BR>:(
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:dr0 回复日期:2003-04-12 22:17:12
<br>内容:在sta中得到的interface要通过列集才可以给其他线程使用.其他现成得到列集后的一个handle,把handle反列集后再得到interface.反列集后的interface通过代理访问原来的对象.也就是说,访问的时候不是直接访问,而是发送windows message给一个系统建立的隐含窗口,这个窗口根据发送过来的消息对列一次一个地访问原来的object来实现多线程安全.<BR><BR>// what is a handle in this senario ? u mean COM interface ? <BR>// No handle concept in the COM specification.<BR>
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:dr0 回复日期:2003-04-12 22:22:22
<br>内容:Read the COM spec in MSDN:<BR>[The Component Object Model Specification]<BR><BR>
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:xiongli 回复日期:2003-04-12 22:23:11
<br>内容://我觉得class factory可以返回不同的类型的object,内聚可以在得到object后再返回不具有is-a关系的object,这两者有什么具体用途和差别?<BR><BR>这个我自己再看看
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:dr0 回复日期:2003-04-12 22:24:15
<br>内容:The concept can not be more important when you express your idea
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -