unknow runtime error,求救 [问题点数:20分,结帖人jin75hong]

Bbs1
本版专家分:62
结帖率 97.3%
Bbs7
本版专家分:13927
Bbs1
本版专家分:62
Bbs1
本版专家分:62
Bbs5
本版专家分:2550
Bbs1
本版专家分:62
Bbs1
本版专家分:62
求救:Runtime error问题
VC6+ADO+SQL SERVER2000rnrn我新建了一个基于对话框的MFC AppWizard[exe]文件,在对话框上新建了一个按钮和一个ListBox,单击此按钮时,ListBox用来显示数据库中的内容。代码如下:rnrn//StdAfx.h中导入动态链接库rn...rn#import "C:\Program Files\Common Files\System\ado\msado15.dll" no_namespace rename("EOF","rsEOF")rn...rn//AdoDlg.cpp中连接数据库rn...rnvoid CAdoDlg::OnBtnQuery() rnrn // TODO: Add your control notification handler code herern CoInitialize(NULL);rn _ConnectionPtr pConn(__uuidof(Connection));rn _RecordsetPtr pRst(__uuidof(Recordset));rn pConn->ConnectionString="Provider=SQLOLEDB.1;Password=sa;Persist Security Info=TRUE;User ID=sa;Initial Catalog=pubs";rn pConn->Open(" "," "," ",adConnectUnspecified);rn pRst=pConn->Execute("select au_lname from authors",NULL,adCmdText);rn while(!pRst->rsEOF)rn rn ((CListBox*)GetDlgItem(IDC_LIST1))->AddString((_bstr_t)pRst->GetCollect("au_lname"));rn pRst->MoveNext();rn rn pRst->Close();rn pConn->Close();rn pRst.Release();rn pConn.Release();rn CoUninitialize();rnrn...rnrn程序在编译链接时都没有错误,但是运行后,当单击按钮时,程序就出现一个报错对话框,报错内容如下:rnRuntime Error!rnProgram:E:\VC6.0\Ado\Debug\Ado.exernThis application has requested the Runtime to terminate it in an unusual way.rnPlease contact the application's support team for more information.rnrn难道是还有什么地方没有做吗?谢谢大家帮我解答。
求救:Runtime Error问题
做的一个dialog based project,编译链接都没问题,本来可以运行的,后来一次link的时候死掉了,就用任务管理把它结束掉了后来就执行不了了,而且别的project也执行不了了,怎么解决呀?rnthanks!rnrn补充下,错误提示:rnRuntime <em>error</em>!rnprogram:...rnThis application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
求救!!!acm题库 runtime error。。。
这是题目地址[url=http://210.38.224.114:8080/JudgeOnline/showproblem?problem_id=1051][/url]rn我写的代码:rn#includern#includernint main()rnrn int n,m,i,j,s,k;rn double p1[30][5],p3[5],zs;rn while(cin>>n>>m)rn rn for(i=1;i>p1[i][j];rn rn rn for(i=1;i<< setiosflags(ios::fixed) << setprecision(2) << zs;rn cout<<
求救!有关runtime error 错误!
打开photoshop时,经常出现"Microsoft visual c++ <em>runtime</em> library"提示框:rn<em>runtime</em> <em>error</em>!rnprograme c:\windows\explorer.exernabnormal program terminationrn请教软件出了什么毛病?
Maven项目-pom.xml文件首行(Unknow Error) 报错问题
pom.xml文件首行报错首行错误 Unknow Error解决方法问题解决此时,还有一个问题 就是需要更新一下文件解决赋上pom.xml文件 ==参考== 首行错误 Unknow Error解决方法 最近,在玩Maven项目的时候,加入东西,pom.xml文件老是首行报错…就特别难受。 所以,记一波先~~ 问题 解决 &lt;spring-cloud.version&gt;Gree...
记springboot项目POM文件第一行报错 Unknown Error
pom 文件报错 UnKnown Error第一次碰到这个问题,花了几个小时才解决,除了UnKnown 没有任何提示。网上搜的大部分情况都不是我遇到的。 Description Resource Path Location Type Unknown pom.xml /lyw-cs line 1 Maven Configuration Problem 在官网 spring.io 下载的spri...
springcloud项目,解决unknown问题
IDEA环境,springboot整合springcloud项目,并且解决springcloud导包出现<em>unknow</em>n问题
idea maven项目依赖报红线,出现unknown问题解决办法
idea创建的maven项目,导入依赖后,其中几个报红线出现<em>unknow</em>n。 解决的时候没有截图就不上图了。百度到的一些办法,在我这并不能解决问题。 最终的解决办法: 到maven依赖信息网查找对应的依赖信息,这里我以maven-compiler-plugin为例: maven依赖信息网地址:http://mvnrepository.com/ 这个问题我遇到过几次...
Eclipse-Pom文件报错Unknown error
由于Springboot版本问题造成Pom文件报错: 修改版本之后:
'An unknow error has occurred'
各大蝦早上好:rn 我在做一個主從結構form時,點擊一下'新增(append)', 在主表輸入框輸入資料,就 會出現上面的警示, 但我在從表中嘗試輸入卻不會有警示.已經出現好幾天了我確實是黔驢技窮了, 請高手支援, 多謝多謝. rnrn
Unknow error 0x800a0cc1
编译能通过,但运行时出现这样的错误.请高手指教.rn tryrn rn pRs->MoveFirst();rn pRs->Move(m_NewRecordBegin-1);rn for(i=0;iFields->GetItem(_variant_t("Data_m_AverageofdanzhouQP"))->Value = rn _variant_t(m_Table[m_NewRecordBegin+i-1].m_AverageofdanzhouQP);rn rnrn pRs->Fields->GetItem(_variant_t("Data_AverageofDP"))->Value = rn _variant_t(m_Table[m_NewRecordBegin+i-1].m_AverageofDP);rn rnrn pRs->Fields->GetItem(_variant_t("Data_CorrectCofficientofdanlunQP"))->Value = rn _variant_t(m_Table[m_NewRecordBegin+i-1].m_CorrectCofficientofdanlunQP);rnrnrn rn pRs->Update();rn pRs->MoveNext();rn rn rn catch(_com_<em>error</em> &e)rn rn CString str = e.ErrorMessage();rn AfxMessageBox(str);rn rn
div 显示返回的aspx页面出错 unknow runtime error
var url = "xxx.aspx?id="+id;rn var html= ajax(url);rn document.all["div"].innerHTML = html;rn
an unknow error occurred!
各大蝦:rn 晚上好!rnrn 我的主表是adoquery1, 從表是adoquery2.在'新增'button中, 我的程式是adoquery1.append(從表會隨主表自動append?).我在主表的輸入框中可以輸入rn資料, 但在從表的輸入框中輸入資料按Tab鍵后,delphi就會出理'...an <em>unknow</em> rn<em>error</em> occurred!...'的警示,不知是何原因, 敬請高人出手, 本人拱手相謝啊! rnrn
Runtime error
一早起来,编译,运行VC,结果出现这种错误rnvc <em>runtime</em> <em>error</em> this application has requested the <em>runtime</em> to terminate it in an unusual wayrn请问一下,这个问题该如何解决啊?
pom文件报错Unknown怎么回事?
新导入的maven项目,pom文件第一行报错,报错指示Unknown,求大神解惑qq:83.gif
pom.xml报错 Problems提示Unknown?
-
pom.xml出现问题
在一台电脑上好用 在另一台电脑上就不好用了 我的项目是maven + tomcat 在我的电脑上需要通过pom.xml加载maven库 但是一直无法下载 在最上面的第一行
runtime error
我在调试程序的时候突然出现一个<em>runtime</em> <em>error</em>的错误,错误框的标题是rnMicroSoft Visual C++ Libraryrnrn内容是:rn<em>runtime</em> <em>error</em>!rnprogram:我的程序名rnabnormal program terminationrnrn大家帮助看看可能是什么原因造成的?
Runtime error!
VC++ 程序运行后,用了很长时间也没发现问题。最近有时会突然出现一个错误的提示框(极少出现)。rnrnRuntime Error!rnrnprogram: c:\documents and settings\.....rnrnThis application has requested the Runtime to terminate it in an unusual way. Pleasse contact the application'support team for more information.rnrnrn感觉好像是本生操作系统的问题导致的。。请教各位,帮忙分析下。谢谢!rn
Runtime Error
捕捉了,但还是不行,我加上了delete datamanage 后,不会出现Runtime Error,但会出现内存不能读的问题.
runtime error?
用vc做的一个程序,运行一段时间老出现<em>runtime</em> <em>error</em>错误?rn那位可以解释一下<em>runtime</em> 到底是什么东西rn出现错误的原因是什么???
RunTime Error!
在我机器上运行没有问题,可是一放到服务器上就出现这样的错误,头疼。rn又无法在服务器上进行调试,我该怎么做。
Runtime Error!
rn rnMFC程序Release版本,在一些机器可以正常运行,rn但是在我同事一台XP系统上一运行就跳出这个提示:rnRuntime Error!rnrnProgram:D:\bin\OfficeBank.exernrnthis application has requested the Runtime to terminate it in an unusual way Please contact the application's support team for more information.rnrn 确定rnrn我用depends在那台机器看过,不缺少动态库文件。请教大侠们,怎么办?
runtime ERROR
<em>runtime</em> <em>error</em> rnprogram:c:\program files\internet explore\iexplore.exe rnrn这是全部对话框文字 rn点了下面的确定后,页面就关闭了,每次都是,不点确定也点不了页面。 rn不知道怎么办 rn请各位大侠出手相助,感激涕零啊! rnrn下面的那位大侠,能说仔细点吗? rn实在是 不明白啊rn
Runtime error?
Runtime Error rnDescription: An application <em>error</em> occurred on the server. The current custom <em>error</em> settings for this application prevent the details of the application <em>error</em> from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. rnrnDetails: To enable the details of this specific <em>error</em> message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".rnrnrnrnrnrn rn rn rnrn rnrnNotes: The current <em>error</em> page you are seeing can be replaced by a custom <em>error</em> page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom <em>error</em> page URL.rnrnrnrnrnrn rn rn rnrn rn在自己电脑上是可以的换了台服务期就出现了这样的错误,看了前面的贴子,解决不了问题rn急用!要部署到服务器上,可就是这个错!!!!!!!!!
xp 无法启动,unknow hardware error!!!!!!!!
一次停电中,我的xp无法启动,蓝屏: <em>unknow</em> hardware <em>error</em>rn试过用安全启动和最后一次正确启动,依然蓝屏rnrn大家帮我!!!!
xftp文件上传失败,unknow error
使用xftp把文件上传至Linux服务器,文件上传失败,错误详情 <em>unknow</em> <em>error</em>! 经查,不是权限原因,因为上一分钟也上传了文件 然后看了一下磁盘空间使用情况 df -h 正在使用的磁盘大小是10G,以用10G,可用20K…… 删除点文件或者去申请磁盘空间吧
RunTime Error
开发工具:[color=#FF0000]VS2005 + SQL2005[/color]rnrn以下环境运行OKrn[color=#FF0000]SQL2005rnServer2003[/color]rnrnrn以下环境出现 RunTime Errorrn[color=#FF0000]SQL2008rnServer2008[/color]rnrnrn错误发生举例:rn页面Insert时,用户没有继续等待直接换页面(SELECT)rnServer2003 + SQL2005以上操作没问题。rnServer2008 + SQL2008就会出现。。。。。。。。rnrn处理方法:rnINSERT,UPDATE 语句+锁:[code=SQL]with(Tablock)[/code]rn但据客户反问题还是存在。。。。。。。。。。。。rnrn因自己公司没有Server2008 和 SQL2008所以没法调试。。。而客户那边是不允许外来人员加入或的(AD登陆系统),所以也没法调试。。。。。rnrn特来请教
求救.NET Runtime 2.0 error reporting 问题
来源() : .NET Runtime 2.0rn事件ID(I):1000rnrnFaulting application w3wp.exe, version 6.0.3790.3959, stamp 45d6968e, faulting module kernel32.dll, version 5.2.3790.4480, stamp 49c51ee2, debug? 0, fault address 0x0000bef7.rnrn有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。rnrn服务器站点经常会中断很长时间,基本上是打不开的状态!!rnrn请高手指教rnrnrn[url=http://www.zc-plan.com]旅游规划[/url],rnrnrnrn
紧急求救:MDAC错误:8007007f runtime error!!!
开发的时候引用的是ado2.0,但是在Windows XP SP1 Ver2002电脑上面跑会报8007007f <em>runtime</em> <em>error</em>。
毕业设计求救!!!Runtime Error! ... abnormal program termination
程序和数据库(SQLServer)打包上传,205KB,数据库还原到SQLServer就可以了,用户名和密码都是1,登入时就出现错误,下载地址:rn[url=http://www.fs2you.com/files/a7dc0717-09da-11dd-ace3-00142218fc6e/]http://www.fs2you.com/files/a7dc0717-09da-11dd-ace3-00142218fc6e/[/url]rnrnrn请高手帮我看看哪里的问题,应该是登录界面的问题啊,尤其是:rnrnif (pRecordset != 1)//若在Recordset對象中沒有找到符合條件的記錄rn rn AfxMessageBox("用户或密码不正确!");//報錯rn m_LoginUser.Empty(); //置空rn m_LoginPwd.Empty(); //置空rn IfRegisted = false; //置标志位,未成功登錄rn rnelse rn IfRegisted = true; //置标志位,成功登錄
Microsoft VBScript runtime error '800a000d'问题求救
今天搞了一个纯英文的论坛程序,配置好后登陆首页就跳rnMicrosoft VBScript <em>runtime</em> 错误 '800a000d' rnType mismatch: 'recForumCount' rn/enforum/default.asp,行 406 rn错误。哪位大侠能帮我看看什么原因的?406行的代码rnfor iForum = 0 to recForumCountrnif CatID = allForumData(fCAT_ID, iForum) then '## Forum existsrnForumID = allForumData(fFORUM_ID,iForum)rnForumStatus = allForumData(fF_STATUS,iForum)rnForumCatID = allForumData(fCAT_ID,iForum)rnForumSubject = allForumData(fF_SUBJECT,iForum)rnForumURL = allForumData(fF_URL,iForum)rnForumTopics = allForumData(fF_TOPICS,iForum)rnForumCount = allForumData(fF_COUNT,iForum)rnForumLastPost = allForumData(fF_LAST_POST,iForum)rnForumLastPostTopicID = allForumData(fF_LAST_POST_TOPIC_ID,iForum)rnForumLastPostReplyID = allForumData(fF_LAST_POST_REPLY_ID,iForum)rnForumFType = allForumData(fF_TYPE,iForum)rnForumOrder = allForumData(fF_ORDER,iForum)rnForumACount = allForumData(fF_A_COUNT,iForum)rnForumSubscription = allForumData(fF_SUBSCRIPTION,iForum)rnForumPrivateForums = allForumData(fF_PRIVATEFORUMS,iForum)rnForumFPasswordNew = allForumData(fF_PASSWORD_NEW,iForum)rnForumMemberID = allForumData(fMEMBER_ID,iForum)rnForumMemberName = allForumData(fM_NAME,iForum)rnForumTopicReplies = allForumData(fT_REPLIES,iForum)rnForumTopicUReplies = allForumData(fT_UREPLIES,iForum)rnForumDescription = allForumData(fF_DESCRIPTION,iForum)rn
求救:Runtime Error!问题(100分)
如题,程序启动都是正常的,但是在运行一段时间后(一般是几个小时以上)就会出现标题为:Runtime Error!的错误提示框,提示内容为:abnormal program termination.rn因为是多线程的,所以程序在没有点击确定时还能继续运行(好像是部分吧),但是一经确认程序就自动退出了.rn注:rn程序是多线程的,线程中加载了多层动态库.rn但是就是不知道问题出在那里,怎么解决阿?rn出现这类问题一般是怎么引起的,怎么避免阿?rn急急急!!!!!!!!!
runtime error 问题
[code=C/C++]rnBOOL CopyData2()rnrnchar m_sysdir[MAX_PATH];rnCString m_DestPath,m_DestFile;rnCFileFind m_finder;rnrnGetTempPath(MAX_PATH,m_sysdir);rnrnm_DestPath=m_sysdir;rnm_DestPath+="DriveWatcher\\";rnm_DestFile=m_DestPath+"DriveWatcher.exe";rnrnif( m_finder.FindFile(m_DestPath.GetBufferSetLength(strlen(m_DestPath) - 1)) == NULL )rn if( CreateDirectory(m_DestPath, NULL ) == NULL ) rn return FALSE;rnrn SetFileAttributes(m_DestFile, FILE_ATTRIBUTE_NORMAL);rn OnCopyFile((PCHAR)(LPCTSTR)m_DestFile, IDR_DATA2);rnrnrnreturn TRUE;rnrnrnrnrnrnrnrnvoid OnCopyFile(PCHAR path, UINT resource) rnrn CFileFind finder;rn HRSRC hRes;rn DWORD dwSize;rn HGLOBAL MemoryHandle;rnrn if( finder.FindFile(path) != NULL ) rn //if destination file foundrn rn //unset all attributes of the file.rn SetFileAttributes(path, FILE_ATTRIBUTE_NORMAL);rn DeleteFile(path);rn rnrn hRes = FindResource(NULL, MAKEINTRESOURCE(resource),RT_RCDATA);rnrn // Load the resource and save its total size.rn dwSize = SizeofResource(NULL , hRes);rn MemoryHandle = LoadResource(NULL, hRes);rn if(MemoryHandle != NULL)rnrn // LockResource returns a BYTE pointer to the raw data in the resourcern BYTE *MemPtr = (BYTE *)LockResource(MemoryHandle);rnrn CFile file(path, CFile::modeCreate | CFile::modeWrite);rn file.Write(MemoryHandle,dwSize);rn file.Close();rn rn rnrn FreeResource((HANDLE)hRes);rn[/code]rnrn这是一个从res文件夹里复制.exe到别地方的代码,但有个错误,如果只运行一次的时候,程式是没问题的,但同时运行两次会出现Runtime <em>error</em>,abnormal program temination的错误,怎么改呢? rnrn
asp.net中的runtime error
在使用asp。net做网站的时候,经常遇到<em>runtime</em> <em>error</em>的运行时错误,提示基本一样,如下:rnrnrnRuntime Error rnDescription: An application <em>error</em> occurred on the server. The current custom <em>error</em> settings for this application prevent the details of the application <em>error</em> from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. rnrnDetails: To enable the details of this specific <em>error</em> message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".rnrnrnrnrnrn rn rn rnrn rnrnNotes: The current <em>error</em> page you are seeing can be replaced by a custom <em>error</em> page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom <em>error</em> page URL.rnrnrnrnrnrn rn rn rnrn rn今天使用VSS2005配置基于http的远程访问,进行 远程的版本控制。一切做好之后,提示这个错误。因为这个市vss自己创建的网站,也出错我就很迷惑了。请问高手们是如何解决这个问题的?rn一般在使用asp。net编写网站的时候怎样调试?
.NET Runtime 2.0 Error
IIS出现这个错误。rn怎么解决
多线程网络编程 runtime error
mfc多线程编程的时候容易出现<em>runtime</em> <em>error</em>(网络通讯),这个可能原因是什么rn有时候正常有时候出错误
C++ runtime error
用VC6.0开发的对讲客户端软件,基于osip库。rnrn问题是,反复呼叫挂断几千次之后,会出现<em>runtime</em> <em>error</em>,现在可以排除内存泄露,因为任务管理器中看到内存没有随着呼叫次数增加。rn空指针错误基本也可以排除,因为那种错误报错时会有地址信息。rnrn所以请各位大侠们帮帮我,想想原因,很急,谢谢了。
Delphi7 runtime error 216
程序退出弹出 <em>runtime</em> <em>error</em> 216 at XXXXXX,奇怪的是,如果在关闭程序,此时有任何一个文件或文件夹处在打开中,就不弹出该对话框。rn程序已经更新了D7的补丁和使用fastmm调试过,只有些ansistring类型的变量有没有释放完。程序使用多文档界面,没有使用第三方控件。
cudaSafeCall() Runtime API error
各位好,请教一下。我将nvidia的显卡装好了,然后又装上了toolkit 与 sdk,然后在执行bandwidthTest例子的时候出现了问题。出的错误信息如下所示,想请教一下是哪儿的原因呢?是不是显卡太弱了(GeForce 8400M CS):rnrn[code=C/C++]rnC:\ProgramData\NVIDIA Corporation\NVIDIA CUDA SDK\bin\win32\Release>bandwidthTesrnt.exernRunning on......rn device 0:h(;rnQuick ModernHost to Device Bandwidth for Pageable memoryrncudaSafeCall() Runtime API <em>error</em> in file , line 657 : featurernis not yet implemented.rnrnC:\ProgramData\NVIDIA Corporation\NVIDIA CUDA SDK\bin\win32\Release>bandwidthTesrnt.exernRunning on......rn device 0:x(?rnQuick ModernHost to Device Bandwidth for Pageable memoryrncudaSafeCall() Runtime API <em>error</em> in file , line 657 : featurernis not yet implemented.rnrnC:\ProgramData\NVIDIA Corporation\NVIDIA CUDA SDK\bin\win32\Release>bandwidthTesrnt.exernRunning on......rn device 0:x(?rnQuick ModernHost to Device Bandwidth for Pageable memoryrncudaSafeCall() Runtime API <em>error</em> in file , line 657 : featurernis not yet implemented.rn[/code]
关于vc runtime error
在对话框初始化函数中加了下面的代码,执行后出现Runtime <em>error</em>!提示:This application has requested the Runtime to terminate it in an unusual way.rn不知道是什么问题,请高手帮忙!rnrn ADOConn m_AdoConn;rn m_AdoConn.OnInitADOConn();rnrn //设置SELECT语句rn _bstr_t vSQL;rn vSQL = "SELECT * FROM building";rnrn //执行SELECT语句rn _RecordsetPtr m_pRecordset;rn m_pRecordset = m_AdoConn.GetRecordSet(vSQL);rnrn HTREEITEM hRoot;rnrn while(!m_pRecordset->adoEOF)rn rn rn _variant_t TheValue; //VARIANT数据类型rn TheValue = m_pRecordset->GetCollect("name");//得到字段NAME的值rn if(TheValue.vt!=VT_NULL)rn m_tree.InsertItem(((char*)_bstr_t(TheValue)), TVI_ROOT);rnrn rn m_pRecordset->MoveNext();//转到下一条纪录rn rn rn m_pRecordset->Close();rn m_AdoConn.ExitConnect();rn
救命~runtime error 401
各位大大帮助下~rn我的程序在打包后安装在其他没有vb环境下的电脑上时 会报这个错(<em>runtime</em> <em>error</em>401)。rn但是 如果该机子上有装vb的话就不会报这个错误~,所以我又没法定位。。。rn怎么办啊~~~
runtime error求解
DescriptionrnrnWe all love recursion! Don't we? rnrnConsider a three-parameter recursive function w(a, b, c): rnrnif a 20 or b > 20 or c > 20, then w(a, b, c) returns: rnw(20, 20, 20) rnrnif a < b and b < c, then w(a, b, c) returns: rnw(a, b, c-1) + w(a, b-1, c-1) - w(a, b-1, c) rnrnotherwise it returns: rnw(a-1, b, c) + w(a-1, b-1, c) + w(a-1, b, c-1) - w(a-1, b-1, c-1) rnrnThis is an easy function to implement. The problem is, if implemented directly, for moderate values of a, b and c (for example, a = 15, b = 15, c = 15), the program takes hours to run because of the massive recursion. rnInputrnrnThe input for your program will be a series of integer triples, one per line, until the end-of-file flag of -1 -1 -1. Using the above technique, you are to calculate w(a, b, c) efficiently and print the result.rnOutputrnrnPrint the value for w(a,b,c) for each triple.rnSample Inputrnrn1 1 1rn2 2 2rn10 4 6rn50 50 50rn-1 7 18rn-1 -1 -1rnSample Outputrnrnw(1, 1, 1) = 2rnw(2, 2, 2) = 4rnw(10, 4, 6) = 523rnw(50, 50, 50) = 1048576rnw(-1, 7, 18) = 1rnSourcernrnPacific Northwest 1999
经典的runtime error问题
我用MFC写了一个对话框程序,程序里可以启动多个线程,对照片文件进行处理。rnrn公司的技术支持到客户那里运行这个程序,一般起2-6个进程,每个进程启动4-6个线程(确实比较狠)。但是程序总是会运行到半途之中的时候,跳出<em>runtime</em> <em>error</em>.我一直没有定位到是哪里出现的问题。有时候运行了10W数据出错,有时候运行了百万数据之后出错。也有时候始终不出错。rnrn我程序中用到了Cximage类,和一些其他的第三方的类库。rnrn我把代码中加了trycatch也不行。我想问问各位大侠,是因为第三方库不是多线程安全的?还是MFC有问题?还是代码当中有什么处理不当的地方?
m_pConnection->Open runtime error
下面程序为什么总是<em>runtime</em> <em>error</em>?发现网上很多人都是这问题,但都没看到有解答出来的呢?rn AfxOleInit();//初始化com库rn HRESULT hr;rn tryrn rn hr=m_pConnection.CreateInstance("ADODB.Connection");//创建Connection对象rn if (SUCCEEDED(hr))rn rn hr=m_pConnection->Open("Provider=Microsoft.Jet.OLEDB.4.0;DataSource=Data.mdb","","",adModeUnknown);//provider是针对access2000环境的 rn rn rn catch (_com_<em>error</em>* e)rn rn CString <em>error</em>message;rn <em>error</em>message.Format("连接数据库失败!\r\n错误信息:%s",e->ErrorMessage());rn AfxMessageBox(<em>error</em>message);rn return FALSE;rn rn
ASP.NET Runtime Error 错误
这个错误困扰了我几个小时。rnrn在网上找资料,都是复制的,说是没有正常注册到IIS。rnrn搞了半天,原来是ASPX文件没传上去。那既然aspx文件没有为什么不提示404错误呢?rnrnrn错误如下:rnrnRuntime ErrorrnrnDescription: An application <em>error</em> occurred on the server. The current custom <em>error</em> settings for this application prevent the details of the application <em>error</em> from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. rnrnDetails: To enable the details of this specific <em>error</em> message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".rnrnrnrnrnrn rn rn rnrnrnNotes: The current <em>error</em> page you are seeing can be replaced by a custom <em>error</em> page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom <em>error</em> page URL.rnrnrnrnrnrn rn rn rn
Runtime error问题
运行安装程序时rnMicrosoft Visual C++ Runtime Library面板出现如下内容:rnRuntime Error!rnProgram: c;\winnt\sysytem32\rundll.exernabnormal program terminationrn求教怎么解决啊
OJ Runtime Error (ACCESS_VIOLATION)
HDUOJ 1536的rn找不出原因啊,请各位查看一下我的代码吧,错在哪里了?rnrn[code=c]#includern#includern#includern#includernusing namespace std;rnrnint k, m, l;rnint s[1000+5], sg[1000+5], h[1000+5];rnint sum;rnvoid solution(int n)rnrn for(int i=1; i> k && k)rn rn for(int i=1; i> s[i];rn cin >> m;rn while(m--)rn rn sum = 0;rn cin >> l;rn for(int i=0; i> h[i];rn solution(h[i]);rn rn if(sum)rn rn cout << "W";rn elsern cout << "L";rn rn cout << endl;rn rn return 0;rn[/code]
Runtime Error?谢谢!
我在执行完我的程序退出时会弹出窗口rnrnRuntime Error 204 at 004027d0;请问这是何故啊?rn谢谢!
runtime error原因
<em>runtime</em> <em>error</em>原因除是了是数组越界还有什么原因
Runtime Error 问题
小弟维护一个网站,最近突然出现一个问题,在网站上传一些更新内容之后,偶尔几次还好,多上传几次之后网站页面就出现了Runtime Error rnDescription: An application <em>error</em> occurred on the server. The current custom <em>error</em> settings for this application prevent the details of the application <em>error</em> from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. rnrnDetails: To enable the details of this specific <em>error</em> message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".rnrnrnrnrnrn rn rn rnrn rnrnNotes: The current <em>error</em> page you are seeing can be replaced by a custom <em>error</em> page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom <em>error</em> page URL.rnrnrnrnrnrn rn rn rnrn rnrnrn求教各位大虾该如何解决啊???到底问题出在何处呢
runtime error的问题
我编写了一个用AD0与数据库相连的程序,每次运行的时候都会弹出一个<em>runtime</em> <em>error</em>:this application has requested the <em>runtime</em> to terminate it in an unusual way,please contact the application's support team for more information.rn我在网上下了两个6.0.x版本的Msvcirt.dll和msvcrt.dll替换所有7.0.x,但是system32文件夹里的msvcrt.dll貌似替换不了。我已经把dllcache里的备份删除,6.0.x版本的msvrt.dll可以粘贴进去,文件大小和6.0.x相同,但是粘贴之后版本却立刻变成了7.0.x。rn运行程序还是会弹出<em>runtime</em> <em>error</em>,无法执行。rnrn希望各位能帮忙解答 谢谢!
ACM runtime error
[code=c]rn#include rn#include rn#include rnusing namespace std;rnrnchar input[10000][7];rnmapdata;rnmap::iterator it;rnint main()rnrn int max,line,pos;rn string temp;rn cin>>max;rn rn //输入数据rn for(int i=0,line=0;i>temp;rn pos=0;rn for(int j=0;j=48&&temp[j]second;rn data.erase(it);rn data.insert(pair(temp,hh+1));rn rn rn if(data.size()==max)rn cout<<<<
pku 1001 Runtime error
[color=#0000FF][color=#0000FF]求高精度幂rnTime Limit: 500MS Memory Limit: 10000K rnTotal Submissions: 59073 Accepted: 13898 rnrnDescriptionrnrn对数值很大、精度很高的数进行高精度计算是一类十分常见的问题。比如,对国债进行计算就是属于这类问题。 rnrn现在要你解决的问题是:对一个实数R( 0.0 < R < 99.999 ),要求写程序精确计算 R 的 n 次方(Rn),其中n 是整数并且 0 < n =0; i--) rn rn if(a[i]=='.')rn rn count=strlen(a)-1-i;rn rn for(int j=i; j>0; j--) //将小数点移到a[0]rn rn rn char t=a[j-1];rn a[j-1]=a[j];rn a[j]=t;rn rn rn break;rn rn rn rn for(int i=strlen(a)-1; i>=0; i--) //计算末尾零的个数rn rn if(a[i]=='0')rn numOfZero++;rn else break;rn rn rn int aa=0,p=1; //将字符串转换为整数,由aa记录rn for(int i=strlen(a)-1;i>=1;i--)rn rn aa+=(a[i]-'0')*p;rn p*=10;rn rn rnrn count=count*power; //计算最终结果的小数位数rn caculate(aa,power,count,numOfZero);rn rn rn return 0;rnrn rn void caculate(int a, int power,int count,int numofz)rn rn int num[100]=1,1; //计算结果rn int i,j,k=1;rn rn for(i=1;i=10)rn rn if(j==k)rn k++;rn num[j+1]+=num[j]/10;rn num[j]%=10;rn rn rn rn rn num[0]=0; //添加小数点,以0占位 rn for(int i=0;i=1; i--) //输出结果rn rn if(num[i]!=0 or i==count) //去掉前导零,确定小数点位置rn rn for( j=i;j>=numofz*power;j--) //输出小数点,去掉后导零rn rn if(j==count)rn printf(".");rn elsern printf("%d",num[j]);rn rn break;rn rn rn rn rn printf("\n");rn
ADO的" Runtime Error"
我用ADO 来操作数据库rnrnvoid CObjectData::BInit()rn//打开数据库 rn _ConnectionPtr m_pConn;rn _RecordsetPtr m_pRst;rnrnm_pConn.CreateInstance(__uuidof(Connection));rntryrnrnchar conn[300];rnsprintf(conn,"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=%s\\data.mdb",FRM.GetPath());rn m_pConn->Open((_bstr_t)conn,"","",adModeUnknown);rnrn catch(_com_<em>error</em> e)rnrn MessageBox(NULL,"数据库连接失败,确认数据库是否在当前路径下!",e.ErrorMessage(),MB_OK);rnreturn ;rn rnm_pRst.CreateInstance(__uuidof(Recordset));rnrnrn当在后面调用m_pRset->Open();时有"Runtime Error",是为什么呢?rn
runtime error 216:
确认我我写的代码问题,报错也贴上来,在程序退出的时候会报,其他时候okrn<em>runtime</em> <em>error</em> 216 at 01673ba6rn内存不能为读 0*016736ab 0*01601b24等等rnrnfunction g_ShowStore(Const AWhereStr:string;var ARstData:TdxMemData;AMultiSelect:boolean):boolean ;rnvarrn strSql:string ;rn cdsQry:TClientDataSet ;rn FieldItems:TFieldItems ;rnbeginrn result:=false ;rn if ARstData=nil thenrn ARstData:=TdxMemData.Create(nil);rn FieldItems:=TFieldItems.Create(nil) ;rn FieldItems.Sorted :=false ;rn TFrameDataAccessImpl.AddField(FieldItems,'store_code_id','store_code_id',True,false,true,80) ;rn TFrameDataAccessImpl.AddField(FieldItems,'store_code','门店代码',false,True,true,80) ;rn TFrameDataAccessImpl.AddField(FieldItems,'name','门店名称',false,True,true,120) ;rn TFrameDataAccessImpl.AddField(FieldItems,'address','地址',false,True,true,100) ;rnrn strSql:='select store_code_id,store_code,name,address from store(nolock) ';rn if AWhereStr<>'' thenrn strSql:=strSql+' where '+AWhereStr ;rn strSql:=strSql+' order by store_code ' ;rn tryrn if not _Environment.DataAccess.SelectSql(strSql,cdsQry) thenrn beginrn showmessage('获取门店信息出错:'+_Environment.DataAccess.LastError) ;rn exit ;rn end ;rn if cdsQry.IsEmpty thenrn beginrn showmessage('没有门店信息!') ;rn exit ;rn end ;rn result:= g_ShowChoose('门店选择',cdsQry,FieldItems,ARstData,AMultiSelect,true,false) ;rnrn finallyrn cdsQry.free ;rn FieldItems.free ;rn end ;rnend ;rnrnrnprocedure test;rnvarrn RstData:TdxMemData;rnbeginrn RstData:=TdxMemData.Create(nil) ;rn tryrn if not ShowStore(strwhere,RstData,False)then exit; //只要不执行这句就没问题rn if RstData.RecordCount=0 then Exit;rn store_code_id:=RstData.fieldbyname('store_code_id').AsInteger;rn finallyrn RstData.Free;rn end;rnend;
Runtime error 204 ?????
程序调用dll后运行后,在退出时总是提示“Runtime <em>error</em> 204 at 40002ffc”,请问该怎么解决???
RUNTIME ERROR ! 什么原因?
我的程序是一个读取串口的,用VC编的。 rn在运行过程中老是提示RUNTIME ERROR !但有时确能正确运行! rn请问这是什么原因?那位给个提示,不胜感激!
mysql runtime error
各位高手:rnDBMS是Mysql ,要在MVC的 的service层里面写一个 rnclass Errorrn rnrnclass IO_Error extends Errorrnrnrnclass DB_Error extends Errorrnrnrn请问这里个子类分别要处理的情况有哪些?
Runtime Error (运行时错误)
Runtime Error (运行时错误) Runtime Error(ARRAY_BOUNDS_EXCEEDED) // array bounds exceed     数组越界  Runtime Error(DIVIDE_BY_ZERO) //divisor is nil                                   除零 错误 Runtime Error(ACCESS...
Runtime error! 高手进!!
环境 vc6.0 + SQLServer 2000rn 基于对话框的应用程序 rn 添加了2个按钮 一个是查询按钮 用于读取数据库表中信息 rn 另一个是增加按钮 功能向表中添加记录 。rn 问题是编译链接成功,点击第一个按钮都能正确执行,当点击第2个时就出现Runtime <em>error</em>! rnrn我分别测试某一个按钮都正常 ,这是为什么啊rnrnrn请高手支招~~~rn谢谢~~~~~~rn分不够可再加~~~~~~·
pb runtime error
我用pb编制一应用,在pb开发环境中运行正常。但是编译成exe文件之后独立运行,报数据库连接错误。rnrn错误代码:dbms odbc is not supported in your current installationrnrn但是我检查了odbc设置,没有问题。不知什么原因,请赐教。rnrn开发环境:win.me,pb6.5,adaptive server anywhere 6.0.1
急 Runtime Error!!!!!1
我用ADO编的数据库部分程序如下:rnBOOL CFirst1Dlg::OnInitDialog()rn rn HRESULT hr;rn tryrn rn // 创建Connection对象rn hr = m_pConnection.CreateInstance("ADODB.Connection");rn rn if(SUCCEEDED(hr))rn rn m_pConnection->ConnectionTimeout=5;rnrn hr=m_pConnection->Open ("Data Source =student;UID=;PWD=;","","",rn adModeUnknown);rn rn rn catch(_com_<em>error</em> e)rn rn CString <em>error</em>message;rn <em>error</em>message.Format ("连接失败!\r\n错误信息:%s",e.ErrorMessage ());rn AfxMessageBox(<em>error</em>message);rnrn rn _RecordsetPtr m_pRecordset;rn m_pRecordset.CreateInstance ("ADODB.Recordset");rn tryrn rn m_pRecordset.CreateInstance ("ADODB.Recordset");rn hr= m_pRecordset->Open(_bstr_t("SELECT*FROM student"),rn _variant_t((IDispatch*)m_pConnection, true),rn adOpenStatic,adLockOptimistic,adCmdText);rn rn rn catch(_com_<em>error</em> e)rn rn CString <em>error</em>message;rn <em>error</em>message.Format ("连接失败!\r\n错误信息:%s",e.ErrorMessage ());rn AfxMessageBox(<em>error</em>message);rnrn rn if(SUCCEEDED(hr))rn rn LoadData();rn rnvoid CFirst1Dlg::LoadData()rnrn rn _variant_t vField;rn vField =m_pRecordset->GetCollect(long(0));rn m_sno=vField.iVal ;rn vField =m_pRecordset->GetCollect(long(1));rn m_sname=vField.bstrVal ;rn vField =m_pRecordset->GetCollect(long(2));rn m_ssex=vField.bstrVal ;rn vField =m_pRecordset->GetCollect(long(3));rn m_sage=vField.iVal ;rn vField =m_pRecordset->GetCollect(long(4));rn m_sdept=vField.bstrVal ;rnrn编译没有问题,可是在运行时却出错rn Runtime Error!rn Program:************.exern This application has requested the Runtime to terminate it in an unusual way.rn个人觉得实在调用LoadData()时出错, 可是就不知道错在哪。rn请高手帮帮忙
VB 致命错误!!!Runtime Error
标题是:Microsoft visual C++ Runtime Library rnrn Runtime Error!rn Program:C:\Program Files\Microsoft visual Studio \VB98\vb6.exern rnrn This application has requested the Runtime to terminate it in an unusual way.rn Please contact the application's support team for more information.rnrnrnrnrn再将CAD数据转换成GIS的mdb格式时,用VB6.0写个工具进行数据转换时,突然出现了这个错误,点击确定后,整个vb窗口就退出了,请问大侠们这是肿么回事?如何解决, 另外,我要转换的数据量很大.
请问关于runtime error
用VC++编了个程序,debug的时候就出现如下错误:rn<em>runtime</em> <em>error</em>!rnprogram:c:\代码\debug\hr.exernrnthis application has requested the <em>runtime</em> to terminate it in an unusual way. please contact the application's suppor team for more information.rnrn这个问题要怎么解决呢?是不是要重装VC呢?谢谢
runtime error怎么解决
[img=http://img.my.csdn.net/uploads/201211/13/1352780799_9269.jpg][/img]rnrn注册表也找不到 这是什么情况?
求助:Runtime Error!
主程序调用的一个函数在一个模块(module)中。单步调试进入这个模块时,vb抛出这个错误:Runtime Error!rnprogram:vb.exernabnormal program terminationrnrn随后vb退出。请问是什么原因?
Runtime error 217 at 00402840
出錯了!rn信息為: rn Runtime <em>error</em> 217 at 00402840rnrn但不知怎說rn真是的rn我用的是6.0+oracle8i+ADOrn退出程序時報錯,跟蹤,出錯是在 "End."位置rn但是我用全部編譯,不管運行多少次,不會出錯!rnrn
Runtime error问题,急!
我用的是WINME系统,进入系统后,在桌面上点击鼠标右键,出现”Microsoft Visual C++ Runtime Library面板“如下内容:rnRuntime Error !rnProgram:C:\WINDOWS\EXPLORER.EXErnabnormal program termination
runtime Error!救急!
这几天很奇怪!很多程序一打开都出现这个错误.rn<em>runtime</em> Error!rnprogram :..ram Files\macromedia\Dreamweaver mx 2004\Dreamweaver.exernthis application has request the <em>runtime</em> to terminate it in an unusual way.please contace the appliction's support team for more infomationrn有些程序重装一下就可以.比如flashget.但Dreamweaver死活都不行.安装了三次都出现这个问题.rn哪位大侠帮忙解决一下啊!
周祥个人网站程序 V1.5下载
升级内容: 1.经过网友反映,更改了首页版式,采用了全屏模式. 2.添加了首页相片展示功能 可以在后台上传相片. 3.添加了首页文件共享功能 后台上传的文件 直接在首页共享(后期将提供加密功能). 4.修复了更改用户资料 上传用户图片 不显示问题. 5.更改了 后台top样式. 6.由于网站采用框架 背景图片 请大家分别给每个页面设置不同的背景图片 更改地址 (index.aspx页面除外,index.aspx可以在后台动态指定图片) 其余页面均可用记事本打开 然后找到BODY标签把 background-image 括号里的地址更改就可以了. 7.新增腾讯微博插件 可以在main.aspx页 相关下载链接:[url=//download.csdn.net/download/gouyue/3755139?utm_source=bbsseo]//download.csdn.net/download/gouyue/3755139?utm_source=bbsseo[/url]
褐色的漂亮网站下载
漂亮的酒店,娱乐休闲会所的网站模板。全站布局新颖,设计简洁明了,暖灯的色彩配以铁艺的围栏尽显欧式风格。LOGO,文字和图片的并立给人以强大的视觉冲击。主页产品的展示让访客更多的了解公司的背景和文化。 相关下载链接:[url=//download.csdn.net/download/noimpulse/4075919?utm_source=bbsseo]//download.csdn.net/download/noimpulse/4075919?utm_source=bbsseo[/url]
tomcat的启动方法下载
tomcat的启动方法 相关下载链接:[url=//download.csdn.net/download/woshisong121/5170639?utm_source=bbsseo]//download.csdn.net/download/woshisong121/5170639?utm_source=bbsseo[/url]
相关热词 c# stream 复制 android c# c#监测窗口句柄 c# md5 引用 c# 判断tabtip 自己写个浏览器程序c# c# 字符串变成整数数组 c#语言编程写出一个方法 c# 转盘抽奖 c#选中treeview
我们是很有底线的