Chinaunix首页 | 论坛 | 博客
  • 博客访问: 627965
  • 博文数量: 603
  • 博客积分: 4000
  • 博客等级: 上校
  • 技术积分: 4940
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-17 11:04
文章分类

全部博文(603)

文章存档

2011年(1)

2008年(602)

我的朋友

分类:

2008-09-17 11:16:43


()
- ()
-- ()


由 yaowenbin 在 2008-07-22 19:51 发表:

[求助]

各位仁兄:
小弟我对vc涉及不深,刚写了个图书馆电话语音服务系统,碰到一个错误,当打印一字符串时说:unhandled execption in ***.exe access violation
代码块: case 700: //通道处于全部续借状态
if(Spec == '1') //确认续借
{
printf("%s 通道 %d 确认全部续借\n", strType, ChIndex);
CString info,s;

CXmlUtil xmlUtil;

renewAll(PCH->ID, info);

s = xmlUtil.getXmlSection(info.GetBuffer(0),"/MSG");
s.Replace("\n","");
printf("%s\n",s);//晕,注释后面的,光打印s也会退出程序。怪事 // if(s.IsEmpty){s=" ";}
PCH->ChState.BState = 50; //状态为等待选择功能
PlayTTS(ChType, ChIndex, TRUE, FALSE, TRUE, s);
PlayTTS(ChType, ChIndex, FALSE, FALSE, TRUE, "将返回主菜单");
PlayIndex(ChType, ChIndex, FALSE, TRUE, TRUE, 3);
PCH->StartTime = GetTickCount();
PCH->ClearData();

printf("%s 通道 %d 数据库操作续借图书返回结果%s\n", strType, ChIndex,s);


}
希望各位。。帮帮忙啊 !


全部时间均为北京时间. 现在时间是16:02 .

Powered by: vBulletin Version 2.2.8
Translated and hacked by:
Copyright © Jelsoft Enterprises Limited 2000, 2001.


--------------------next---------------------

阅读(338) | 评论(0) | 转发(0) |
0

上一篇:欢迎阅读我的文章

下一篇:上一主题

给主人留下些什么吧!~~