首页上一页 1 下一页尾页 4 条记录 1/1页
紧急求助,《Visual C++典型模块大全》第七章播放器运行时出错,希望能帮助解决。
发表在C语言图书答疑
2010-05-28
是否精华
是
否
版块置顶:
是
否
设置时间:
非永久
永久
起始时间:
结束时间:
是否扣分:
是
否
由于在做一个设计,所以很紧急,希望能够帮助解决,先谢谢了!
环境都已经按书上说的配置好了,编译和链接的时候都没有错误,运行时能出现主窗口但当打开音频文件时会弹出窗口报错不过可以听到音乐。错误信息如下:
ActiveMovie Window:DirectShowEvent.exe-应用程序错误
"0x73d311c7"指令引用的"0x00000811"内存。该内存不能为"read"
要终止程序,请单击“确定”
要调试程序,请单击“取消”
希望能解决,谢谢!
环境都已经按书上说的配置好了,编译和链接的时候都没有错误,运行时能出现主窗口但当打开音频文件时会弹出窗口报错不过可以听到音乐。错误信息如下:
ActiveMovie Window:DirectShowEvent.exe-应用程序错误
"0x73d311c7"指令引用的"0x00000811"内存。该内存不能为"read"
要终止程序,请单击“确定”
要调试程序,请单击“取消”
希望能解决,谢谢!
精彩评论 4
2010-05-28
板凳
你好,非常感谢!我把我执行build操作时的信息发上来你帮看下吧,我不懂哪里出错,麻烦了。
--------------------Configuration: DirectShowEvent - Win32 Release--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
CustomGroup.cpp
CustomSlider.cpp
DirectShowEvent.cpp
DirectShowEventDlg.cpp
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(196) : warning C4553: '==' : operator has no effect; did you intend '='?
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(483) : warning C4553: '==' : operator has no effect; did you intend '='?
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(588) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(589) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(590) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(591) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(914) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(917) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(918) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(1044) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(1044) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(1047) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(1048) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
DisplayWnd.cpp
FileList.cpp
IconMenu1.cpp
NumLabel.cpp
OverlayText.cpp
SysTreeCtrl.cpp
VideoSet.cpp
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(72) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(72) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(76) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(80) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(80) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(83) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(86) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(86) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(89) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(92) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(92) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(124) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(125) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(140) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(141) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(153) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(154) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(167) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(168) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(226) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(226) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(234) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(234) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(241) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(241) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(248) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(248) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
Generating Code...
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(77) : warning C4700: local variable 'wParam' used without having been initialized
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(231) : warning C4700: local variable 'wParam' used without having been initialized
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(508) : warning C4715: 'CDirectShowEventDlg::FindPin' : not all control paths return a value
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(892) : warning C4700: local variable 'wParam' used without having been initialized
Linking...
Creating browse info file...
DirectShowEvent.exe - 0 error(s), 0 warning(s)
--------------------Configuration: DirectShowEvent - Win32 Release--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
CustomGroup.cpp
CustomSlider.cpp
DirectShowEvent.cpp
DirectShowEventDlg.cpp
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(196) : warning C4553: '==' : operator has no effect; did you intend '='?
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(483) : warning C4553: '==' : operator has no effect; did you intend '='?
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(588) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(589) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(590) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(591) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(914) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(917) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(918) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(1044) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(1044) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(1047) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(1048) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
DisplayWnd.cpp
FileList.cpp
IconMenu1.cpp
NumLabel.cpp
OverlayText.cpp
SysTreeCtrl.cpp
VideoSet.cpp
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(72) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(72) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(76) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(80) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(80) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(83) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(86) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(86) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(89) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(92) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(92) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(124) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(125) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(140) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(141) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(153) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(154) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(167) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(168) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(226) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(226) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(234) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(234) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(241) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(241) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(248) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(248) : warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
Generating Code...
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(77) : warning C4700: local variable 'wParam' used without having been initialized
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\VideoSet.cpp(231) : warning C4700: local variable 'wParam' used without having been initialized
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(508) : warning C4715: 'CDirectShowEventDlg::FindPin' : not all control paths return a value
C:\Documents and Settings\Administrator\桌面\07\DirectShowEvent\DirectShowEventDlg.cpp(892) : warning C4700: local variable 'wParam' used without having been initialized
Linking...
Creating browse info file...
DirectShowEvent.exe - 0 error(s), 0 warning(s)