Visual c++ 当我的应用程序尝试在动态网格控件中加载10000条记录时,我收到一个未处理的异常错误
我正在开发VC++应用程序,其中所有汇款交易都显示在一个动态网格控件中。用户必须双击主网格控件,然后细节窗口弹出。在这种情况下,将显示该主条目的详细级别事务。(这就像向下钻取细节级别)。现在在这个细节窗口网格控件中,第一次只显示1000条记录。要在动态网格ctrl中显示下10000条记录,用户单击“获取下一条”按钮。以下是应用程序出错的要点: “Qpay.exe中0x78594826处发生未经处理的异常:0x80000x26:已执行跳远。”应用程序关闭 应用程序使用Oracel11g数据库 有时,it错误消息类似于“未处理的异常错误…”,并显示以下错误代码:Visual c++ 当我的应用程序尝试在动态网格控件中加载10000条记录时,我收到一个未处理的异常错误,visual-c++,Visual C++,我正在开发VC++应用程序,其中所有汇款交易都显示在一个动态网格控件中。用户必须双击主网格控件,然后细节窗口弹出。在这种情况下,将显示该主条目的详细级别事务。(这就像向下钻取细节级别)。现在在这个细节窗口网格控件中,第一次只显示1000条记录。要在动态网格ctrl中显示下10000条记录,用户单击“获取下一条”按钮。以下是应用程序出错的要点: “Qpay.exe中0x78594826处发生未经处理的异常:0x80000x26:已执行跳远。”应用程序关闭 应用程序使用Oracel11g数据库 有时
有关调用的详细信息,请参阅此消息的结尾
即时(JIT)调试,而不是此对话框。
**************例外文本**************
System.AccessViolationException:尝试读取或写入受保护内存。这通常表示其他内存已损坏。
在ATL.CStringT.=(CStringT*,字节*)
在CRemDetail.PopulatedAtBlCTRL1(CRemDetail*)
在CRemDetail.OnInitDialog(CRemDetail*)
在CRemDetail.SCOnRemDetail(CRemDetail*,UserInfoStruct*pUserInfo,Int32 lSolar,InputDetailStruct Inputs,Int32 mlseccode)
在CRemUnrelDlg.OnCellDoubleClick(CRemUnrelDlg*,对象发送方,DataGridViewCellEventArgs e)
在CRemUnrelDlg.delegate\u proxy\u type.OnCellDoubleClick(对象arg0,DataGridViewCellEventArgs arg1)
在System.Windows.Forms.DataGridView.OnCellDoubleClick中(DataGridViewCellEventArgs e)
位于System.Windows.Forms.DataGridView.OnDoubleClick(EventArgs e)
在System.Windows.Forms.Control.WmMouseUp(Message&m、MouseButtons按钮、Int32单击)
位于System.Windows.Forms.Control.WndProc(Message&m)
位于System.Windows.Forms.DataGridView.WndProc(Message&m)
在System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&m)中
在System.Windows.Forms.Control.ActiveXImpl.System.Windows.Forms.IWindowTarget.OnMessage(Message&m)中
在System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&m)中
在System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd、Int32 msg、IntPtr wparam、IntPtr lparam)中
**************加载的程序集**************
mscorlib
程序集版本:2.0.0.0
Win32版本:2.0.50727.3643(GDR.050727-3600)
代码库:file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Qpay
程序集版本:0.0.0.0
Win32版本:2,0,0,0
代码库:file:///C:/qpay/Qpay.exe
----------------------------------------
msvcm80
组装版本:8.0.50727.6195
Win32版本:8.00.50727.6195
代码库:file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.6195_x-ww_44262b86/msvcm80.dll
----------------------------------------
System.Windows.Forms
程序集版本:2.0.0.0
Win32版本:2.0.50727.3645(GDR.050727-3600)
代码库:file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
系统
程序集版本:2.0.0.0
Win32版本:2.0.50727.3644(GDR.050727-3600)
代码库:file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
系统图
程序集版本:2.0.0.0
Win32版本:2.0.50727.3644(GDR.050727-3600)
代码库:file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MFCM90
组件版本:9.0.30729.0
Win32版本:9.00.30729.6161
代码库:file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_028bc148/MFCM90.dll
----------------------------------------
msvcm90
装配版本:9.0.30729.6161
Win32版本:9.00.30729.6161
代码库:file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-WW31A54E43/msvcm90.dll
----------------------------------------
可达性
程序集版本:2.0.0.0
Win32版本:2.0.50727.3053(netfxsp.050727-3000)
代码库:file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
CrystalDecisions.CrystalReports.Engine
组件版本:10.5.3700.0
Win32版本:10.5.0.1943
代码库:file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/10.5.3700.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll
----------------------------------------
CrystalDecisions.Windows.Forms
组件版本:10.5.3700.0
Win32版本:10.5.0.1943
代码库:file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Windows.Forms/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Windows.Forms.dll
----------------------------------------
水晶决定。共享
组件版本:10.5.3700.0
Win32版本:10.5.0.1943
代码库:file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Shared/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Shared.dll
----------------------------------------
CrystalDecisions.ReportSource
组件版本:10.5.3700.0
Win32版本:10.5.0.1943
代码库:file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportSource/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportSource.dll
----------------------------------------
系统配置
程序集版本:2.0.0.0
Win32版本:2.0.50727.3053(netfxsp.050727-3000)
代码库:file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
命名空间
程序集版本:2.0.0.0
Win32
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at ATL.CStringT<char,StrTraitMFC_DLL<char,ATL::ChTraitsCRT<char> > >.=(CStringT<char\,StrTraitMFC_DLL<char\,ATL::ChTraitsCRT<char> > >* , Byte* )
at CRemDetail.PopulateDatatblctrl1(CRemDetail* )
at CRemDetail.OnInitDialog(CRemDetail* )
at CRemDetail.SCOnRemDetail(CRemDetail* , UserInfoStruct* pUserInfo, Int32 lSolar, InputDetailStruct Inputs, Int32 m_lSecCode)
at CRemUnrelDlg.OnCellDoubleClick(CRemUnrelDlg* , Object sender, DataGridViewCellEventArgs e)
at CRemUnrelDlg.delegate_proxy_type.OnCellDoubleClick(Object arg0, DataGridViewCellEventArgs arg1)
at System.Windows.Forms.DataGridView.OnCellDoubleClick(DataGridViewCellEventArgs e)
at System.Windows.Forms.DataGridView.OnDoubleClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.DataGridView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ActiveXImpl.System.Windows.Forms.IWindowTarget.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3643 (GDR.050727-3600)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Qpay
Assembly Version: 0.0.0.0
Win32 Version: 2, 0, 0, 0
CodeBase: file:///C:/qpay/Qpay.exe
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.6195
Win32 Version: 8.00.50727.6195
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.6195_x-ww_44262b86/msvcm80.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3645 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3644 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3644 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MFCM90
Assembly Version: 9.0.30729.0
Win32 Version: 9.00.30729.6161
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_028bc148/MFCM90.dll
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.6161
Win32 Version: 9.00.30729.6161
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_31a54e43/msvcm90.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
CrystalDecisions.CrystalReports.Engine
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/10.5.3700.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll
----------------------------------------
CrystalDecisions.Windows.Forms
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Windows.Forms/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Windows.Forms.dll
----------------------------------------
CrystalDecisions.Shared
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Shared/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Shared.dll
----------------------------------------
CrystalDecisions.ReportSource
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportSource/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportSource.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3634 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
CrystalDecisions.ReportAppServer.CommLayer
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.CommLayer/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CommLayer.dll
----------------------------------------
CrystalDecisions.ReportAppServer.ClientDoc
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ClientDoc/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ClientDoc.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
CrystalDecisions.ReportAppServer.DataSetConversion
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataSetConversion/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataSetConversion.dll
----------------------------------------
CrystalDecisions.ReportAppServer.DataDefModel
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataDefModel/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataDefModel.dll
----------------------------------------
CrystalDecisions.ReportAppServer.Controllers
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.Controllers/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.Controllers.dll
----------------------------------------
CrystalDecisions.ReportAppServer.ReportDefModel
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ReportDefModel/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ReportDefModel.dll
----------------------------------------
CrystalDecisions.KeyCode
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.KeyCode/10.5.3700.0__692fbea5521e1304/CrystalDecisions.KeyCode.dll
----------------------------------------
CustomMarshalers
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
CrystalDecisions.ReportAppServer.XmlSerialize
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.XmlSerialize/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.XmlSerialize.dll
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
CrystalDecisions.Web
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Web/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Web.dll
----------------------------------------
CrystalDecisions.Enterprise.Framework
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.268
CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.Enterprise.Framework/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Enterprise.Framework.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.