陌上花开,可缓缓归矣

说:这怎么这么熟悉,看他时很,想他时很近
说:这怎么这么熟悉,看她时心,想她时心慌

逝者如斯
网志分类
· 所有网志 (743)
· 记忆 (266)
· 废话 (132)
· 视听 (75)
· 足痕 (14)
· 工作 (41)
· 笑料 (21)
· 图片 (17)
· 面试 (10)
· 未分类 (167)
搜索本站
友情链接
· 我的歪酷 非非共享界
· qixi
· jason
· sumublues
· alice
· jxhlps
· lixue
· blogspot
· standlonely
· xietao

订阅 RSS

0083291

歪酷博客


« 上一篇: 一句话 下一篇: 最近有点烦 »
徒然草 @ 2006-04-11 13:28

when i run VC for printing my own dom example, i encounter a runtime virtual function call error.

what i do is as following:

Inherit my own class MyXMLFormatTarget from XMLFormatTarget
then add a function :
 
 void writeChars(const char* const toWrite,
     const unsigned int count,
                    XMLFormatter* const formatter
 );

for there is only a similar function 

 void writeChars
    (
        const   XMLByte* const  toWrite
        , const unsigned int    count
        , XMLFormatter* const   formatter
    );

in which the first argument is XMLByte*, does not support my dom model.
In such way, it does work, but when it prints all the document, there is a runtime error
saying a virtual function is called, i do not know why.


曾经的这一天...



评论 / 个人网页 / 扔小纸条
* 昵称

已经注册过? 请登录

新用户请先注册 以便能显示头像及追踪评论回复

Email
网址
* 评论
表情
 


 

分类小组论坛
杂谈 , 娱乐、八卦 , 文学、艺术 , 体育 , 旅游、同城 , 象牙塔 , 情感 , 时尚、生活 , 星座 , 科技

请注意遵守中华人民共和国法律法规, 如威胁到本站生存, 将依法向有关部门报告, 同时本站的相关记录可能成为对您不利的证据.

相关法律法规
全国人大常委会关于维护互联网安全的决定
中华人民共和国计算机信息系统安全保护条例
中华人民共和国计算机信息网络国际联网管理暂行规定
计算机信息网络国际联网安全保护管理办法
计算机信息系统国际联网保密管理规定