在此还要感谢 ririyeyjl 给予的指点和引导!!作者: ashio 时间: 2007-5-8 12:26
问题来了:)
在CAA Help文档里,常会看到这样的描述,这些描述是什么意思:
1. you must use this class as is. You should never derive it.(CATFrmEditor)
2. an implementation of this interface is supplied and you must use it as is. You should not reimplement it.(CATIIniInteractiveSession)
3. you can freely reimplement this interface.(CATIEditor)
4. you must use this class as is.(CATDocumentServices)
--这里讲的class是不是就是component的组成部分,应该如何使用?
--you must use it as is是什么意思,该如何使用?是不是这样,如果是Class就实例化它,如果是Interface就是初始化指针?
如:Class: CATFrmEditor *pFrmEditor = new CATFrmEditor;
Interface: CATIIniInteractiveSession *pIniInteractiveSession=NULL;
pIniInteractiveSession-〉Open(…);