createinstance()是否是单例模式,即两个_RecordsetPtr 变量都调用的createinstance()函数的参数相同, 请问这两个_RecordsetPtr指针变量指向同一块地址吗? 例: { _RecordsetPtr m_pRecordset1, _RecordsetPtr m_pRecordset2, m_pRecordset1.createinstance("ADODB.Recordset"); m_pRecordset2.createinstance("ADODB.Recordset"); //与上面一行的参数相同, 那m_pRecordset1和m_pRecordset2是否指向相同的地址? } 调用用m_pRecor...
by xuebabybaby - C/C++ - 2013-11-05 09:09:23 阅读(2235) 回复(4)
合作方给了一个com组件 然后给了一个程序事例, 问题如下: 首先声明了一个 指针 ITtPtr m_comm; 然后调用 m_comm.createinstance("xx.xx"); 但是这一步不成功,接口指针地址为0;(CXX0030: expression cannot be evaluated) 对方不给支持,所以只能求助于大家,该问题可能是由什么原因引起的呢? 万分感谢 [ 本帖最后由 hswlfg 于 2006-11-22 14:50 编辑 ]
我在运行程序,点击按钮的时候,经常会程序异常退出,并弹出如下的错误信息:
Gdk-ERROR**:file gdkregion:generic.c :line 1082 (miUnionNon0) assertion failed:(y1
getexecname() failed 原因是: df -k /dev/dsk/c0t2d0s0 15122499 5438218 9533057 37% / mnttab 0 0 0 0% /etc/mnttab fd 0 0 0 0% /dev/fd swap 461024 88 460936 1% /var/run swap 460944 8 460936 1% /tmp /dev/dsk/c0t2d0s6 55625871 55193 55014420...
uncompressed skype for linux, [code] :~/soft/skype-1.3.0.53$ ls 1 icons lang LICENSE README skype skype-action-handler skype-callto-handler skype.conf skype.desktop skype.desktop.old sound :~/soft/skype-1.3.0.53$ file skype; ls -al skype skype: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped -rwxr-xr-x 1...
在messages里面发现很多这种报错: ep 20 03:46:23 Es40-1 vmunix: task_create() failed for pid 721706: max_proc. Sep 20 03:46:24 Es-40-1 vmunix: task_create() failed for pid 721722: max_proc. Sep 20 03:46:24 Es-40-1 vmunix: task_create() failed for pid 721730: max_proc. .... 请问是什么问题呢?谢谢!
Jul 4 14:52:11 localhost authdaemond: modules="authmysql", daemons=5 Jul 4 14:52:11 localhost authdaemond: Installing libauthmysql Jul 4 14:52:11 localhost authdaemond: Installation complete: authmysql Jul 4 15:04:20 localhost postfix/postfix-script: starting the Postfix mail system Jul 4 15:04:20 localhost postfix/master[3214]: daemon started -- version 2.2.10, configuration /etc/postfix Ju...
重起机子后出现下面错误 message “unknown terminal linux” "unknown terminal linux" 不过看上去还正常(文本模式) 但是图形模式有问题 type startx no response, just keep running with grey windows 那位高手指点一下 谢谢!
重起机子后出现下面错误 message “unknown terminal linux” "unknown terminal linux" 不过看上去还正常(文本模式) 但是图形模式有问题 type startx no response, just keep running with grey windows 那位高手指点一下 谢谢!