0

I have an application in Visual Basic, using .NET Framework 2.0. This application is run at the client site on thin clients using Windows Terminal Services. It is a sort of Point-Of-Sale, and makes a sound when a item is successfuly scanned.

In remote desktop, we have enabled sound to be carried to the local computer.

It has been working fine till now, but has developed a snag for last few days. After a few lines are scanned (never after a fixed number of lines) - the application crashes.

Upon examination of event viewer I found the following:

Faulting application bonepose.exe, version 2.0.0.0, stamp 4a683010, faulting module rdpsnd.dll, version 5.2.3790.0, stamp 3e8024be, debug? 0, fault address 0x000029d5.

After this, I tried running the application without the sound and it worked.

How can I fix this problem? Any ideas?

PS: After crash, if we restart the application, it become really slow. It takes almost 30 seconds to scan a line - where it otherwise takes less than a second.

4

3 回答 3

1

我遇到了一个与此类似的奇怪案例,我想分享它以防万一它可能会有所帮助(尽管这是一篇旧帖子):

症状是:
http ://connect.microsoft.com/VisualStudio/feedback/details /329819/freelibrary-in-the-winmm-dlls-module-initialization-routine-causes-access-violation
在我的情况下,问题的根源在于将托管 DLL 与非托管代码混合在一起。为了解决这个问题,我更改了链接部分中用于输入 LIB 的顺序(开始时管理的),它解决了这个问题。

于 2012-05-21T07:02:17.293 回答
0
  1. 您的机器上是否安装了所有服务包?顺便说一句,哪个操作系统?
  2. 您可以尝试用 Winodws Sound 中的构建替换文件吗?它仍然发生吗?
  3. 您正在使用哪个 API 来播放声音?
于 2009-07-25T11:25:26.220 回答
0

听起来像音频驱动程序很讨厌。更新音频驱动程序。或者禁用盒子上的音频,或删除应用程序的音频代码。

于 2009-07-24T17:15:17.757 回答