在服务器程序用c++调用com+时,有时出现一些异常,因处理不当而导致服务中断,向各位高手请教,以下情况该如何处理:
一、com+ 被强制停止
二、com+ 发生异常超时返回
三、com+ 发生异常无法超时返回
四、com+ 发生异常非超时返回
一、com+ 被强制停止
二、com+ 发生异常超时返回
三、com+ 发生异常无法超时返回
四、com+ 发生异常非超时返回
解决方案 »
- 高分,高难度!!(richedit控件如何分页?)
- vista service程序获取不了visible desktop的DC句柄
- 请问各位大虾,可以推荐一个开源的图形库给我吗?可以做到和matlab图形库类似的功能!
- 初學者問個簡單的問題﹐如何創建一個線程?
- 为什么在VC6能够编译成功的程序在Microsoft Visual Studio .NET(VC7)中编译失败??
- Csocket 如何实现多线程?
- 关动态图片采集的知识
- vs2008反汇编代码分析
- 在县城里面是不是收不到窗口消息的??
- 谁能发给我一个window下Socket异步通讯的简单例子,和多线程的例子
- 在HtmlView的Edit模式下如何加入超链接?
- 如何让spinbuttonctrl前的编辑框现实负数?
1. Go to www.microsoft.com/ddk/debugging and download the latest version of
the debuggers onto the problem server.
2. ADPlus.vbs is also downloaded with the debuggers, and this is the script
you will use to invoke the debugger. For more information on ADPlus, see
the following KB:
HOWTO: Use AutodumpPlus to Troubleshoot "Hangs" and "Crashes" in a
WinDNA/.NET Environment
http://support.microsoft.com/support/kb/articles/Q286/3/50.ASP
3. Make sure that your COM exe is running. You may have to submit an
initial request from your client application to start it. You do not want
the AV to occur before you attach the debugger (step 5, below).
4. Open a DOS window & navigate to the directory where ADPlus.vbs is
installed.
5. Run the following command in the DOS window:
adplus -quiet -crash -pn MyCOM.exe
6. Now allow the application to run. The next time you notice the event
log entries mentioned below, you will notice that a large dump file (*.dmp)
has been created in a subdirectory where ADPlus.vbs is installed.
7. If you are familar with Windbg, you can read the dumps yourself.
Otherwise, you'll need to open a support case w/ Microsoft to have us read
the dumps & ascertain why you're AV'ing.