SetupDiGetDeviceInterfaceDetail error 求助 [问题点数:40分]

Bbs1
本版专家分:2
结帖率 72.22%
Bbs9
本版专家分:55864
Blank
红花 2015年8月 硬件/嵌入开发大版内专家分月排行榜第一
2015年7月 VC/MFC大版内专家分月排行榜第一
2015年5月 VC/MFC大版内专家分月排行榜第一
2015年4月 VC/MFC大版内专家分月排行榜第一
2015年3月 VC/MFC大版内专家分月排行榜第一
2015年1月 硬件/嵌入开发大版内专家分月排行榜第一
2013年12月 VC/MFC大版内专家分月排行榜第一
2013年11月 VC/MFC大版内专家分月排行榜第一
2013年6月 VB大版内专家分月排行榜第一
2013年5月 VB大版内专家分月排行榜第一
2013年1月 VB大版内专家分月排行榜第一
2012年12月 VB大版内专家分月排行榜第一
Blank
黄花 2015年9月 VC/MFC大版内专家分月排行榜第二
2015年7月 硬件/嵌入开发大版内专家分月排行榜第二
2014年5月 VC/MFC大版内专家分月排行榜第二
2014年3月 VC/MFC大版内专家分月排行榜第二
2013年10月 VB大版内专家分月排行榜第二
2013年7月 VB大版内专家分月排行榜第二
2012年5月 VB大版内专家分月排行榜第二
2012年4月 VB大版内专家分月排行榜第二
2012年2月 VB大版内专家分月排行榜第二
2011年11月 VB大版内专家分月排行榜第二
Blank
蓝花 2015年11月 VC/MFC大版内专家分月排行榜第三
2015年6月 VC/MFC大版内专家分月排行榜第三
2015年2月 VC/MFC大版内专家分月排行榜第三
2014年1月 VC/MFC大版内专家分月排行榜第三
2012年3月 VB大版内专家分月排行榜第三
2011年12月 VB大版内专家分月排行榜第三
2011年10月 VB大版内专家分月排行榜第三
Bbs1
本版专家分:2
Bbs6
本版专家分:6634
Bbs1
本版专家分:2
Bbs6
本版专家分:5243
开发USB HID的源码,调用SetupDiGetDeviceInterfaceDetail出错?
调用第一次SetupDiGetDeviceInterfaceDetail出错,返回122.这没有问题.可是为何第二次调用怎么还是出现1784-提供给请求操作的用户缓冲区无效呢.rn 我网上查阅的大量例子,发现我的程序是没有问题的啊,请高手帮忙看一下呢rn[code=c][/code]rnrnprivate: // User declarationsrnrn DWORD ActualBytesRead;rn DWORD BytesRead;rn HIDP_CAPS Capabilities;rn DWORD cbBytesRead;rn PSP_DEVICE_INTERFACE_DETAIL_DATA detailData;rn HANDLE DeviceHandle;rn DWORD dwError;rn HANDLE hEventObject;rn HANDLE hDevInfo;rn GUID HidGuid;rn OVERLAPPED HIDOverlapped;rn ULONG Length;rn DWORD RequiredSize; //addrn LPOVERLAPPED lpOverLap;rn bool MyDeviceDetected;rn AnsiString MyDevicePathName; rn DWORD NumberOfBytesRead;rn HANDLE ReadHandle;rn DWORD ReportType;rn ULONG Required;rn AnsiString ValueToDisplay;rn HANDLE WriteHandle;rn char InputReport[256];rn char OutputReport[256];rnrnboolean TUSBHID::HidUsb_Conn(int VendorID,int ProductID)rnrn HIDD_ATTRIBUTES Attributes;rn // DWORD DeviceUsage;rn SP_DEVICE_INTERFACE_DATA devInfoData;rn bool LastDevice = FALSE;rn int MemberIndex = 0;rn LONG Result;rnrn rn char Buffer[256];rnrn memset(Buffer,0,sizeof(Buffer));rn memset(ManufacturerString,0,sizeof(ManufacturerString));rn memset(ProductString,0,sizeof(ProductString));rnrn Length = 0;rn detailData = NULL;rn DeviceHandle=NULL;rnrn //获取HID GUIDrn HidD_GetHidGuid(&HidGuid); rn //获取指定类的设备rn hDevInfo=SetupDiGetClassDevs rn (&HidGuid, rn NULL, rn NULL, rn DIGCF_PRESENT|DIGCF_DEVICEINTERFACE);rn rn devInfoData.cbSize = sizeof(devInfoData);rnrn MemberIndex = 0;rn LastDevice = FALSE;rnrn dorn rn Result=SetupDiEnumDeviceInterfaces rn (hDevInfo, rn 0, rn &HidGuid, rn MemberIndex, rn &devInfoData);rnrn if (Result != 0)rn rn Result = SetupDiGetDeviceInterfaceDetail rn (hDevInfo, rn &devInfoData, rn NULL,rn 0, rn &RequiredSize,//&Length,rn NULL);rn if (!Result) rn //得到错误代码rn DWORD dwError = GetLastError();rn */rn rnrn detailData = (PSP_DEVICE_INTERFACE_DETAIL_DATA)malloc(RequiredSize);//Length);rn rn detailData -> cbSize = sizeof(SP_DEVICE_INTERFACE_DETAIL_DATA);rn Result = SetupDiGetDeviceInterfaceDetail rn (hDevInfo,rn &devInfoData,rn detailData, rn RequiredSize,//Length,rn &Required,rn NULL);rn if (!Result) rn DWORD dwError = GetLastError();rn rn rn //创建设备对象rn DeviceHandle=CreateFilern (detailData->DevicePath, rn 0, rn FILE_SHARE_READ|FILE_SHARE_WRITE, rn (LPSECURITY_ATTRIBUTES)NULL,rn OPEN_EXISTING, rn 0, rn NULL);rnrn Attributes.Size = sizeof(Attributes);rn rn //获取指定对象的属性rn Result = HidD_GetAttributes rn (DeviceHandle, rn &Attributes);rn rn MyDeviceDetected = FALSE;rn rn //根据VIP,PID判断是否为所需设备rn if (Attributes.VendorID == VendorID)rn rn if (Attributes.ProductID == ProductID)rn rn MyDeviceDetected = TRUE;rn MyDevicePathName = detailData->DevicePath;rn=rnrn rnrn elsern CloseHandle(DeviceHandle);rn rnrn elsern CloseHandle(DeviceHandle);rnrn free(detailData);rnrn rn elsern LastDevice=TRUE;rnrn MemberIndex = MemberIndex + 1;rnrn rnrn while ((LastDevice == FALSE) && (MyDeviceDetected == FALSE));rnrn SetupDiDestroyDeviceInfoList(hDevInfo);rnrn return MyDeviceDetected;rnrn
求助error LNK2019
做了一个进度条,用按钮控制颜色等属性,编译是报错rnMyClientDlg.obj : <em>error</em> LNK2019: 无法解析的外部符号 "public: int __thiscall CGradientProgressCtrl::SetPos(int)" (?SetPos@CGradientProgressCtrl@@QAEHH@Z),该符号在函数 "public: void __thiscall CMyClientDlg::OnClickedUpdateDownload(void)" (?OnClickedUpdateDownload@CMyClientDlg@@QAEXXZ) 中被引用rn1>G:\test c\MyClient\Debug\MyClient.exe : fatal <em>error</em> LNK1120: 1 个无法解析的外部命令rn 求解 这是什么问题 缺少库文件吗?
求助:runtime error
void CLOGIN::openUSER()rnrn tryrn rnrn //从SQL数据库中打开user表rn m_pRecordset->Open("SELECT * FROM user",rn theApp.m_pConnection.GetInterfacePtr(),rn adOpenDynamic,rn adLockOptimistic,rn adCmdText);rn MessageBox("i just want to have a try");rn rn catch(_com_<em>error</em> *e)rn rn AfxMessageBox(e->ErrorMessage());rn rnrn runtime <em>error</em>rn This application has requested the Runtime to terminate it in an unusual way.Please contact the application's support team for more informationrnrnrn其中,user是一个表,里面只有一条记录,messagebox 的内容不能显示,基本可以确定是open语句出错,请大家帮我看看是哪里出错,不要讲太专业。我还不怎么会的。。。嘻嘻,先谢谢了rn
求助C的runtime error
题目是:rn给你K个字符串,请求出它们的最长公共前缀。 输入 第一行是一个整数N,表示测试样例的个数。 每个测试样例的第一行是一个整数K(2 ,&n);rn for(i=0;i
Error: PLS-00103,求助高手
Error: PLS-00103: 出现符号 "DECLARE"在需要下列之一时:rn begin end functionrn package pragma procedure subtype type use rn form current cursorrnLine: 3rnText: DEClARErnrnpl/sql中写了一个小的存储过程总是报错,请高人指点rnprocedure addCrewBoard1(v_tsk in varchar2, v_userId in varchar2, v_userName in varchar2, v_content in varchar2)isrn v_id int; rn beginrn select crewboardseq.nextval into v_id from dual;rn insert into epare_crewboard(id, tsk, userid, username, content)rn values(v_id, v_tsk, v_userId, v_userName, v_content);rn rn /**开始向数据表epare_crewISVIEW加记录*/rn DEClARErn  rn CURSOR receiver(tskID VARCHAR2) IS SELECT epc.username FROM epare_crewschedule epc where epc.tsk=tskID rn v_tmpname epc.username%TYPE;rn rn beginrn rn FOR r_tmp IN receiver(v_tsk) LOOPrnrn  /**DBMS_OUTPUT.PUT_LINE('Name:' || v_ename || 'salary:' || v_salary);*/rnrn if(v_tmpname=v_userName) then rn rn insert into epare_crewisview(CREWBOARDID, TSK, SENDERNAME, RECEIVERNAME, ISVIEW)rn values(v_id, v_tsk, v_userName, username,1);rn rn elsern rn insert into epare_crewisview(CREWBOARDID, TSK, SENDERNAME, RECEIVERNAME, ISVIEW)rn values(v_id, v_tsk, v_userName, username,0);rn rn  end if;rnrn END LOOP;rn rn end;rn rn end;
关于error C2653求助
//FILE A.CPPrn#include "A.h"rn#include "stdafx.h"rnvoid A::A1()rnrnrn//FILE A.hrn#include "stdafx.h"rnclass Arnrnpublic: rnvoid A1();rn;rnrn结果老是指着void A::A1()报错rn1>f:\my documents\visual studio 2005\projects\fortest\a\a\a.cpp(3) : <em>error</em> C2653: 'A' : is not a class or namespace namern初学写个简单程序试试都出问题。。。<em>求助</em>
求助error C2664: 'MessageBoxW'
在VS2005中,已经将工程的属性:Character Set更改为 use Multi-Byte Character Set,rn但是编译的时候,还是提示MessageBoxW不能将char 转换为LPCWSTR,rn按道理应该是调用MessageBoxA的,为什么还会调用MessageBoxW呢,rn如何设置才能调用MessageBoxA呢,谢谢!
error C2143 求助
#include rnvoid main()rnrn int a;rn a=24;rn int b;rn b=a*365;rn printf("年龄:%d",a);rn printf("天数:%d",b);rnrnrnvc6.0提示:D:\NO_1\gaicuo1.c(6) : <em>error</em> C2143: syntax <em>error</em> : missing ';' before 'type'rnD:\NO_1\gaicuo1.c(7) : <em>error</em> C2065: 'b' : undeclared identifierrnrn但是我把程序改如下就可以:rn#include rnvoid main()rnrn int a,b;rn a=24;rn b=a*365;rn printf("年龄:%d",a);rn printf("天数:%d",b);rnrnrn想知道这是为什么?为什么不能分着定义变量。
求助:Progressbar error
我要在获取数据时显示进度条rnrn代码:rnrn public void progressBar() rn progress = ProgressDialog.show(this, "dialog title",rn "dialog message", true);rn rn new Thread(new Runnable() rn public void run()rn rn // do the thing that takes a long timern displayView();rn runOnUiThread(new Runnable() rn public void run()rn rn progress.dismiss();rn rn );rn rn ).start();rn rnrn然后是displayView();方法:rnrn public void displayView() rn rn listAdapter = new ArrayAdapter(this, R.layout.listview_format, rn R.id.item_list,handler.getRetrieveData());rn listView = (ListView)findViewById(R.id.listView2);rn listView.setAdapter(listAdapter);rn rn listView.setOnItemClickListener( new OnItemClickListener() rn public void onItemClick(AdapterView arg0, View v, int position ,rn long id) rn rn intent = new Intent(TechiesActivity.this,ItemInfoActivity.class);rn startActivity(intent); rn rn );rn rn rnrn报出的错误logcat:rnrnrn 02-25 14:39:49.980: E/AndroidRuntime(1654): FATAL EXCEPTION: Thread-10rn 02-25 14:39:49.980: E/AndroidRuntime(1654): android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.rn 02-25 14:39:49.980: E/AndroidRuntime(1654): at android.view.ViewRoot.checkThread(ViewRoot.java:2802)rn 02-25 14:39:49.980: E/AndroidRuntime(1654): at android.view.ViewRoot.invalidateChild(ViewRoot.java:607)rn 02-25 14:39:49.980: E/AndroidRuntime(1654): at android.view.ViewRoot.invalidateChildInParent(ViewRoot.java:633)rn 02-25 14:39:49.980: E/AndroidRuntime(1654): at android.view.ViewGroup.invalidateChild(ViewGroup.java:2505)rn 02-25 14:39:49.980: E/AndroidRuntime(1654): at android.view.View.invalidate(View.java:5139)rn 02-25 14:39:49.980: E/AndroidRuntime(1654): at android.widget.AbsListView.resetList(AbsListView.java:1011)rn 02-25 14:39:49.980: E/AndroidRuntime(1654): at android.widget.ListView.resetList(ListView.java:493)rn 02-25 14:39:49.980: E/AndroidRuntime(1654): at android.widget.ListView.setAdapter(ListView.java:422)rn 02-25 14:39:49.980: E/AndroidRuntime(1654): at com.shop.browser.TechiesActivity.displayView(TechiesActivity.java:111)rn 02-25 14:39:49.980: E/AndroidRuntime(1654): at com.shop.browser.TechiesActivity$1.run(TechiesActivity.java:75)rn 02-25 14:39:49.980: E/AndroidRuntime(1654): at java.lang.Thread.run(Thread.java:1096)rn 02-25 14:39:51.629: E/WindowManager(1654): Activity com.shop.browser.TechiesActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@44f30660 that was originally added herern 02-25 14:39:51.629: E/WindowManager(1654): android.view.WindowLeaked: Activity com.shop.browser.TechiesActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@44f30660 that was originally added herern 02-25 14:39:51.629: E/WindowManager(1654): at android.view.ViewRoot.(ViewRoot.java:247)rn 02-25 14:39:51.629: E/WindowManager(1654): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148)rn 02-25 14:39:51.629: E/WindowManager(1654): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)rn 02-25 14:39:51.629: E/WindowManager(1654): at android.view.Window$LocalWindowManager.addView(Window.java:424)rn 02-25 14:39:51.629: E/WindowManager(1654): at android.app.Dialog.show(Dialog.java:241)rn 02-25 14:39:51.629: E/WindowManager(1654): at android.app.ProgressDialog.show(ProgressDialog.java:107)rn 02-25 14:39:51.629: E/WindowManager(1654): at android.app.ProgressDialog.show(ProgressDialog.java:90)rn 02-25 14:39:51.629: E/WindowManager(1654): at com.shop.browser.TechiesActivity.progressBar(TechiesActivity.java:68)rn 02-25 14:39:51.629: E/WindowManager(1654): at com.shop.browser.TechiesActivity.onClick(TechiesActivity.java:198)rn 02-25 14:39:51.629: E/WindowManager(1654): at java.lang.reflect.Method.invokeNative(Native Method)rn 02-25 14:39:51.629: E/WindowManager(1654): at java.lang.reflect.Method.invoke(Method.java:521)rn 02-25 14:39:51.629: E/WindowManager(1654): at android.view.View$1.onClick(View.java:2067)rn 02-25 14:39:51.629: E/WindowManager(1654): at android.view.View.performClick(View.java:2408)rn 02-25 14:39:51.629: E/WindowManager(1654): at android.view.View$PerformClick.run(View.java:8816)rn 02-25 14:39:51.629: E/WindowManager(1654): at android.os.Handler.handleCallback(Handler.java:587)rn 02-25 14:39:51.629: E/WindowManager(1654): at android.os.Handler.dispatchMessage(Handler.java:92)rn 02-25 14:39:51.629: E/WindowManager(1654): at android.os.Looper.loop(Looper.java:123)rn 02-25 14:39:51.629: E/WindowManager(1654): at android.app.ActivityThread.main(ActivityThread.java:4627)rn 02-25 14:39:51.629: E/WindowManager(1654): at java.lang.reflect.Method.invokeNative(Native Method)rn 02-25 14:39:51.629: E/WindowManager(1654): at java.lang.reflect.Method.invoke(Method.java:521)rn 02-25 14:39:51.629: E/WindowManager(1654): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)rn 02-25 14:39:51.629: E/WindowManager(1654): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)rn 02-25 14:39:51.629: E/WindowManager(1654): at dalvik.system.NativeStart.main(Native Method)
error 1335 求助
安装JDK出现的问题,安装不能够完成,急rn谢谢
求助:Parsing Error
为什么我在打开class wizzard的时候,会弹出如下的ERROR呢?rnrnParsing Error: Expected ";",rnInput Line:"static BOOL m_bRegrect"rnrn其中m_bRegrect是我与一个CHECK控件想联系的变量
莫名其妙的error求助
今天系统突然出现一个莫名其妙的错误:rn系统引导完后进入xwindow登录界面时,无法进入,提示:spurious interrupt IRQ7.rn我没有动过中断啊,我试了很多方法,仍然无效。这是为何?rnhelp!!!!
(求助)MYSQL ERROR 2006
程序执行了许多次数据库操作,发现执行过一些时间后就会出现执行什么SQL语句都是失败,错误原因是2006,网上找了下,基本上只看到有一个文章说这个错误的,好像是下面两个原因rnrn1、应用程序(比如PHP)长时间的执行批量的MYSQL语句。rn 最常见的就是采集或者新旧数据转化。rn 解决方案:rn rn在my.cnf文件中添加或者修改以下两个变量:rn引用:rnrn wait_timeout=2880000rn interactive_timeout = 2880000rnrn关于两个变量的具体说明可以google或者看官方手册。rnrn 如果不能修改my.cnf,则可以在连接数据库的时候设置CLIENT_INTERACTIVE,比如:rn引用:rnrn sql = "set interactive_timeout=24*3600";rn mysql_real_query(...)rnrn2、执行一个SQL,但SQL语句过大或者语句中含有BLOB或者longblob字段。rnrn可我按第一个修改了下还不行,第二个我的情况不服合。。实在找不到什么原因了,高手帮看看可能是什么原因
求助error LNK2001
环境:VC6.0rn源代码:rnrnvoid main()rnrn extern f1();rn f1();rnrnrnvoid f1()rnrnrnrn出现链接错误:rnrnLinking...rnAAA.OBJ : <em>error</em> LNK2001: unresolved external symbol "int __cdecl f1(void)" (?f1@@YAHXZ)rnDebug/AAA.exe : fatal <em>error</em> LNK1120: 1 unresolved externalsrnError executing link.exe.rnrnAAA.exe - 2 <em>error</em>(s), 0 warning(s)rnrn如果改成:rnvoid f1()rnrnrnrnvoid main()rnrn f1();rnrnrn可通过编译链接。rnrn但问题是,先声明后定义为和行不通呢?疑惑rnrn
求助, create table error !
SQL> create table tmp_memberrn 2 (rn 3 u_id number(10),rn 4 username varchar2(50) not null,rn 5 sex boolean not null default 'F',rn 6 regdate date default sysdatern 7 );rnsex boolean not null default false,rn *rn第 5 行出现错误:rnORA-00907: 缺失右括号rnrn怎么解决 ?rnrnrnrn
求助 mysql error 1064
mysql> delimiter //rnmysql> create procedure admin_regs (in x varchar(50),in y varchar(50))rn -> beginrn -> select * from tb_admin where admin_user=x and admin_pass=y;rn -> end;rn -> //rn我在执行这段语句的时候其中rncreate procedure admin_regs (in x varchar(50),in y varchar(50)) 总报错误麻烦给看下是不是写错了rn我不是一口气都执行了,是执行到-> select * from tb_admin where admin_user=x and admin_pass=y;一打回车就出错了错误如图所示说是delimiter后面的一句有问题错误如图
求助....error LNK2005
--------------------Configuration: Server - Win32 Debug--------------------rnLinking...rnnafxcwd.lib(appcore.obj) : <em>error</em> LNK2005: "public: __thiscall CWinApp::CWinApp(char const *)" (??0CWinApp@@QAE@PBD@Z) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(appcore.obj) : <em>error</em> LNK2005: "public: virtual int __thiscall CWinApp::InitApplication(void)" (?InitApplication@CWinApp@@UAEHXZ) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(appcore.obj) : <em>error</em> LNK2005: "public: virtual __thiscall CWinApp::~CWinApp(void)" (??1CWinApp@@UAE@XZ) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(appcore.obj) : <em>error</em> LNK2005: "public: virtual int __thiscall CWinApp::ExitInstance(void)" (?ExitInstance@CWinApp@@UAEHXZ) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(appcore.obj) : <em>error</em> LNK2005: "public: virtual int __thiscall CWinApp::Run(void)" (?Run@CWinApp@@UAEHXZ) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(appcore.obj) : <em>error</em> LNK2005: "public: virtual void __thiscall CWinApp::WinHelpA(unsigned long,unsigned int)" (?WinHelpA@CWinApp@@UAEXKI@Z) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(appcore.obj) : <em>error</em> LNK2005: "public: virtual long __thiscall CWinApp::ProcessWndProcException(class CException *,struct tagMSG const *)" (?ProcessWndProcException@CWinApp@@UAEJPAVCException@@PBUtagMSG@@@Z) already defined in mfc42d.librn(MFC42D.DLL)rnnafxcwd.lib(appcore.obj) : <em>error</em> LNK2005: "public: virtual int __thiscall CWinApp::OnIdle(long)" (?OnIdle@CWinApp@@UAEHJ@Z) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(appcore.obj) : <em>error</em> LNK2005: "public: virtual void __thiscall CWinApp::AssertValid(void)const " (?AssertValid@CWinApp@@UBEXXZ) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(appcore.obj) : <em>error</em> LNK2005: "public: virtual void __thiscall CWinApp::Dump(class CDumpContext &)const " (?Dump@CWinApp@@UBEXAAVCDumpContext@@@Z) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(appcore.obj) : <em>error</em> LNK2005: "public: virtual struct CRuntimeClass * __thiscall CWinApp::GetRuntimeClass(void)const " (?GetRuntimeClass@CWinApp@@UBEPAUCRuntimeClass@@XZ) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(dlgcore.obj) : <em>error</em> LNK2005: "public: virtual int __thiscall CDialog::PreTranslateMessage(struct tagMSG *)" (?PreTranslateMessage@CDialog@@UAEHPAUtagMSG@@@Z) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(dlgcore.obj) : <em>error</em> LNK2005: "public: virtual int __thiscall CDialog::OnCmdMsg(unsigned int,int,void *,struct AFX_CMDHANDLERINFO *)" (?OnCmdMsg@CDialog@@UAEHIHPAXPAUAFX_CMDHANDLERINFO@@@Z) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(dlgcore.obj) : <em>error</em> LNK2005: "public: virtual __thiscall CDialog::~CDialog(void)" (??1CDialog@@UAE@XZ) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(dlgcore.obj) : <em>error</em> LNK2005: "protected: virtual int __thiscall CDialog::SetOccDialogInfo(struct _AFX_OCC_DIALOG_INFO *)" (?SetOccDialogInfo@CDialog@@MAEHPAU_AFX_OCC_DIALOG_INFO@@@Z) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(dlgcore.obj) : <em>error</em> LNK2005: "public: __thiscall CDialog::CDialog(unsigned int,class CWnd *)" (??0CDialog@@QAE@IPAVCWnd@@@Z) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(dlgcore.obj) : <em>error</em> LNK2005: "public: virtual int __thiscall CDialog::DoModal(void)" (?DoModal@CDialog@@UAEHXZ) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(dlgcore.obj) : <em>error</em> LNK2005: "public: void __thiscall CDialog::EndDialog(int)" (?EndDialog@CDialog@@QAEXH@Z) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(dlgcore.obj) : <em>error</em> LNK2005: "protected: virtual void __thiscall CDialog::PreInitDialog(void)" (?PreInitDialog@CDialog@@MAEXXZ) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(dlgcore.obj) : <em>error</em> LNK2005: "public: virtual void __thiscall CDialog::OnSetFont(class CFont *)" (?OnSetFont@CDialog@@UAEXPAVCFont@@@Z) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(dlgcore.obj) : <em>error</em> LNK2005: "public: virtual int __thiscall CDialog::OnInitDialog(void)" (?OnInitDialog@CDialog@@UAEHXZ) already defined in mfc42d.lib(MFC42D.DLL)rnnafxcwd.lib(dlgcore.obj) : <em>error</em> LNK2005: "protected: virtual void __thiscall CDialog::OnOK(void)" (?OnOK@CDialog@@MAEXXZ) already defined in mfc42d.lib(MFC42D.DLL)rn
error 求助
错误名称:不允许使用不完整的类型rn[img=https://img-bbs.csdn.net/upload/201405/16/1400251958_945755.jpg][/img][img=https://img-bbs.csdn.net/upload/201405/16/1400251967_573624.jpg][/img]rn求大神解决,小弟学生一枚,求多赐教啊!
求助,,fatal error LNK1180
在做一个系统管理时rn编译时出现以下2个问题,在百度搜了一下,找不到答案。。请问各位这是什么问题。。rn fatal <em>error</em> LNK1180: insufficient disk space to complete linkrn<em>error</em> BK1503 : cannot write to file 'Debug/CaiYin.bsc'rn先谢谢了
求助:socket connect error
#include rnvoid ConnectServer()rn rn WSADATA wsaData; rn int iRet=WSAStartup(MAKEWORD(2,2),&wsaData); rn if(iRet!=NO_ERROR) rn ::AfxMessageBox(_T("Error at WSAStartup"),0);rn rn m_socket=socket(AF_INET,SOCK_STREAM,IPPROTO_TCP); rn if(m_socket==INVALID_SOCKET) rn rn ::AfxMessageBox(_T("Error at socket"),0);rn WSACleanup(); rn return; rn rnrn struct sockaddr_in service; rn service.sin_family=AF_INET; rn CStringA ansiString(L"127.0.0.1");rn const char *chost(ansiString);rn service.sin_addr.S_un.S_addr=inet_addr(chost); rn service.sin_port=htons(8109); rn ZeroMemory(&(service.sin_zero),8);rnrnrn int connectresult=connect(m_socket,(SOCKADDR*)&service,sizeof(SOCKADDR));rn if(connectresult),0);rn return;rn rnrn这个是客户端的程序,我自己写的,服务端的别人写好的,我看不到源代码的。rnconnect的返回值总是-1,GetLastError()得到的值是10061。rn用telnet 127.0.0.1 8109是可以用的,不知道问题出在哪的?
求助关于@@Error问题
比如rnbeginrnInsert Into 表(字段)rnSelect 字段 from 表1rnSelect @@ErrorrnEndrnrn以上是写在一个游标里面,自己测试的时候,故意让Insert出错,可是我获取不到@@Error值
error LNK2019 错误求助
Linking...rn1>SelfCalib.obj : <em>error</em> LNK2019: unresolved external symbol "void __cdecl kdtree_release(struct kd_node *)" (?kdtree_release@@YAXPAUkd_node@@@Z) referenced in function "public: void __thiscall CSelfCalib::Intr_Paras_Estimation(void)" (?Intr_Paras_Estimation@CSelfCalib@@QAEXXZ)rn1>SelfCalib.obj : <em>error</em> LNK2019: unresolved external symbol "struct _IplImage * __cdecl stack_imgs(struct _IplImage *,struct _IplImage *)" (?stack_imgs@@YAPAU_IplImage@@PAU1@0@Z) referenced in function "public: void __thiscall CSelfCalib::Intr_Paras_Estimation(void)" (?Intr_Paras_Estimation@CSelfCalib@@QAEXXZ)rn1>SelfCalib.obj : <em>error</em> LNK2019: unresolved external symbol "double __cdecl descr_dist_sq(struct feature *,struct feature *)" (?descr_dist_sq@@YANPAUfeature@@0@Z) referenced in function "public: void __thiscall CSelfCalib::Intr_Paras_Estimation(void)" (?Intr_Paras_Estimation@CSelfCalib@@QAEXXZ)rn1>SelfCalib.obj : <em>error</em> LNK2019: unresolved external symbol "int __cdecl kdtree_bbf_knn(struct kd_node *,struct feature *,int,struct feature * * *,int)" (?kdtree_bbf_knn@@YAHPAUkd_node@@PAUfeature@@HPAPAPAU2@H@Z) referenced in function "public: void __thiscall CSelfCalib::Intr_Paras_Estimation(void)" (?Intr_Paras_Estimation@CSelfCalib@@QAEXXZ)rn1>SelfCalib.obj : <em>error</em> LNK2019: unresolved external symbol "struct kd_node * __cdecl kdtree_build(struct feature *,int)" (?kdtree_build@@YAPAUkd_node@@PAUfeature@@H@Z) referenced in function "public: void __thiscall CSelfCalib::Intr_Paras_Estimation(void)" (?Intr_Paras_Estimation@CSelfCalib@@QAEXXZ)rn1>SelfCalib.obj : <em>error</em> LNK2019: unresolved external symbol "int __cdecl sift_features(struct _IplImage *,struct feature * *)" (?sift_features@@YAHPAU_IplImage@@PAPAUfeature@@@Z) referenced in function "public: void __thiscall CSelfCalib::Intr_Paras_Estimation(void)" (?Intr_Paras_Estimation@CSelfCalib@@QAEXXZ)rn1>.\Debug/VCdemo.exe : fatal <em>error</em> LNK1120: 6 unresolved externalsrnrnrn求帮助解答,多谢~~
run-time error 2185,求助
代码如下:rnrnDim sql As Stringrn Dim cnn As ADODB.Connectionrn Set cnn = New ADODB.Connectionrn rncnn.ConnectionString = CONNECTION_STRINGrn cnn.Openrn Me.supplier_code.SetFocusrn Me.week_name.SetFocusrn rnsql = "delete from temporary_invoice where supplier = '" & supplier_code.text & "'"rn sql = sql & " and week_name = '" & week_name.text & "'"rn rnMsgBox sqlrn rncnn.Execute sqlrn rn现在报错:You can't reference a property or method for a control unless the control has the focusrnsupplier_code和week_name是两个text控件,现在要取这两个text控件的值放入sql语句中做查询rn如果有其他办法实现,麻烦给个示范代码,thxrn
求助Application error
程序运行时出现The instruction at "0x00c39536" referenced memory at "0x011c25e8".The memory could not be "read".Click on OK to terminate the program.rn问题一般出在哪里?rn
struts+filter = error ? (倾囊求助)
在用基本的MVC时候,我在web.xml中配置字符过滤器filter,tomcat能正常起来,一切都能正常使用.rn部分代码如下:rnrnrnrn rn Set Character Encodingrn web.SetCharacterEncodingFilterrn rn encodingrn gbkrn rn rn rn Set Character Encodingrn /*rn rn rn index.jsprn rnrnrn而我在用struts框架时候在web.xml中加入rnrn Set Character Encodingrn web.SetCharacterEncodingFilterrn rn encodingrn gbkrn rn rn rn Set Character Encodingrn /*rn rntomcat启动的时候就抛出异常:rn异常信息如下:rn----------------------------------------------------------------------------rn2004-9-21 14:11:40 org.apache.commons.digester.Digester <em>error</em>rn严重: Parse Error at line 47 column 11: Element type "filter" must be declared.rnorg.xml.sax.SAXParseException: Element type "filter" must be declared.rn ...............................................rn严重: Parse Error at line 48 column 18: Element type "filter-name" must be declarnred.rn ............................................................rn严重: Parse Error at line 49 column 19: Element type "filter-class" must be declrnared.rn.....................................................rn2004-9-21 14:11:40 org.apache.commons.digester.Digester <em>error</em>rn严重: Parse Error at line 55 column 19: Element type "filter-mapping" must be dernclared.rn...........................................rn2004-9-21 14:11:40 org.apache.commons.digester.Digester <em>error</em>rn严重: Parse Error at line 56 column 18: Element type "filter-name" must be declarnred.rn......................................rn2004-9-21 14:11:40 org.apache.commons.digester.Digester <em>error</em>rn严重: Parse Error at line 60 column 11: The content of element type "web-app" murnst match "(icon?,display-name?,description?,distributable?,context-param*,servlernt*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,<em>error</em>-page*rn,taglib*,resource-ref*,security-constraint*,login-config?,security-role*,env-entrnry*,ejb-ref*)".rnorg.xml.sax.SAXParseException: The content of element type "web-app" must matchrn"(icon?,display-name?,description?,distributable?,context-param*,servlet*,servlernt-mapping*,session-config?,mime-mapping*,welcome-file-list?,<em>error</em>-page*,taglib*,rnresource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-rrnef*)".rn at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unrnknown Source)rn at org.apache.xerces.util.ErrorHandlerWrapper.<em>error</em>(Unknown Source)rn at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)rn at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)rn at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Srnource)rn at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)rnrn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(rnUnknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentrnDispatcher.dispatch(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unrnknown Source)rn at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)rn at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)rn at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)rn at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)rn at org.apache.commons.digester.Digester.parse(Digester.java:1543)rn at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCornnfig.java:282)rn at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:63rn9)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfirng.java:243)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecyclrneSupport.java:166)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:3rn567)rn at org.apache.catalina.startup.HostConfig.checkWebXmlLastModified(HostCornnfig.java:614)rn at org.apache.catalina.startup.HostConfig.run(HostConfig.java:854)rn at java.lang.Thread.run(Thread.java:534)rn---------------------------------------------------------------------rn我该怎么描述filter.我如何去处理他?如果在struts中怎么解决request引起的字符乱码问题?rn
vc error 求助
我再编译设置DDK环境后编译出现以下错误,错误代码行如下rn_NoAddRefReleaseOnCComPtr* operator->() constrn rn ATLASSERT(p!=NULL);rn return (_NoAddRefReleaseOnCComPtr*)p;rn rnclass _NoAddRefReleaseOnCComPtr : public Trnrn private:rn STDMETHOD_(ULONG, AddRef)()=0;rn STDMETHOD_(ULONG, Release)()=0;rn;rn HRESULT CopyTo(T** ppT)rn rn ATLASSERT(ppT != NULL);rn if (ppT == NULL)rn return E_POINTER;rn *ppT = p;rn if (p)rn p->AddRef();rn return S_OK;rn rn错误信息如下:rnC:\Program Files\Microsoft Visual Studio\VC98\ATL\Include\ATLBASE.H(773) : <em>error</em> C2065: 'T' : undeclared identifierrnC:\Program Files\Microsoft Visual Studio\VC98\ATL\Include\ATLBASE.H(773) : <em>error</em> C2955: 'ATL::_NoAddRefReleaseOnCComPtr' : use of class template requires template argument listrn C:\Program Files\Microsoft Visual Studio\VC98\ATL\Include\ATLBASE.H(425) : see declaration of 'ATL::_NoAddRefReleaseOnCComPtr'rnC:\Program Files\Microsoft Visual Studio\VC98\ATL\Include\ATLBASE.H(820) : <em>error</em> C2061: syntax <em>error</em> : identifier 'T'
菜鸟求助,error LNK2001
rn# include rn# include rnusing namespace std;rnrnclass Accountrnrnprivate:rn string name;rn double balance;rn static double rate;rnpublic:rn Account(string n,double b): name(n), balance(b)rn Account();rn ~Account() rn Account(const Account& ac)rnrn Account& operator = (const Account& ac);rn void Display () const;rn double passyear(int);rn static void SetRate(double);rnrn;rnrnAccount& Account:: operator = (const Account& ac)rnrn name = ac.name;rn balance = ac.balance;rn rate = ac.rate;rnrn return *this;rn rnvoid Account::Display() constrnrn cout<<
求助error C2664
E:\work\DialogModal\DialogProperty1.cpp(20) : <em>error</em> C2664: '__thiscall CPropertyPage::CPropertyPage(unsigned int,unsigned int)' : cannot convert parameter 2 from 'class CWnd *' to 'unsigned int'rn This conversion requires a reinterpret_cast, a C-style cast or function-style castrnrnrn我做一个属性表,在做属性页的时候,忘了把对话框的基类改为CPropertyPage,还是CDialog,做完才发现这个问题,于是我手工改了一下,改完就出现这个问题了。。rnrn各位大大谁能告诉我怎么解决?
Interface not supported error求助······
HRESULT hr;rnIConnectionPointContainer* pCPC = NULL;rnIConnectionPoint* pCP = NULL;rnrn// pElem是一个链接对象指针rnhr = pElem->QueryInterface(IID_IConnectionPointContainer, (void**)&pCPC);rnrn// 下面这一句执行后pCP为NULL。rnhr = pCPC->FindConnectionPoint(DIID_HTMLElementEvents2, &pCP);rn// hr等于80004002,MSDN上面说是“Interface not supported <em>error</em>”rnrn为什么?这段代码在MSDN上面就是这样写的啊。
求助!!!Error 8011042C 错误
一台装有Win2000 server SP4 的web服务器,装有Microsoft Access 2000,数据库Access的。rn昨天还好好的,也没改动什么文件,今天突然所有的ASP页面都不能打开rn(提示:HTTP 500 - 内部服务器错误),htm页面可以打开,IIS也重装过了。rnrnIE提示:rnServer Application ErrorrnThe server has encountered an <em>error</em> while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistancernrn按“lawyu(雨淋漓)”同志的回复:(这是由于由于IWAM账号(在我的计算机即是IWAM_MYSERVER账号)的密码错误造成了HTTP 500内部错误,解决的办法是人工同步IWAM账号在Active Directory、IIS metabase数据库和COM+应用程序中的密码,具体参见:http://www.tongyi.net/article/20040928/200409284127.shtml)rn到最后一步:使用IWAM账号同步脚本synciwam.vbs时出现错误,显示:Error 8011042Crn
求助:application error
我正在学网络编程,做了个聊天工具的Serve端,编译过后,在自己的机子上运行没有任何问题,但我拷到其他机子上,运行就出现了:rnthe application failed to initialize properly(0xc00000135) Click on OK to terminate the applicationrn
求助:Runtime Error!
主程序调用的一个函数在一个模块(module)中。单步调试进入这个模块时,vb抛出这个错误:Runtime Error!rnprogram:vb.exernabnormal program terminationrnrn随后vb退出。请问是什么原因?
error "问题求助">"parse error "问题求助
如题,以下代码运行时出错:Parse <em>error</em>: parse <em>error</em> in c:\apache\htdocs\hcl\lh\chat_end.php on line 123rn代码如下:rnrn if(isset($_POST["email"]))rnrn $result = DATABASE_query("SELECT * FROM ".$DB_prefix."departments WHERE department='$END_department' AND poll IS NULL AND operator IS NULL ORDER BY id DESC");rn if($get = DATABASE_fetch($result))rn $END_depemail = $get["email"];rn rnrn // Email the transcriptrn $END_email = $_POST["email_address"];rn rn ///////////////////////////testrn $END_email = "wishyouwerehere1@eyou.com"rn rn rn rn $END_header = $LANG_transcript_emailed." ".$END_email." [close window]";rn $END_time = gmdate("l dS of F Y \a\\t h:i:s a", time()+($TIME_offset * 3600));rn $END_message = $LANG_transcript_convo." ".$COMPANY_name."'s ".$LANG_website_on." ".$END_time."\n\n\n".$LANG_alias.": ".$END_guest."\n".$LANG_dep.": ".$END_department."\n".$LANG_operator.": ".$END_operator."\n".$LANG_email.": ".$END_depemail."\n".$LANG_time.": ".$END_time."\n\n".$LANG_transcript.":\n";rn $result = DATABASE_query("SELECT * FROM ".$DB_prefix."chat WHERE chatid='$END_uid' ORDER BY id ASC");rn while($get = DATABASE_fetch($result))rnrn $CHAT_id = $get["id"];rn $CHAT_time = $get["time"];rn $CHAT_author = $get["author"];rn $CHAT_message = $get["message"];rnrn $CHAT_message = rawurldecode($CHAT_message);rn $CHAT_message .= " ";rn $CHAT_message = preg_replace("/%%user%%/i", $END_guest, $CHAT_message);rn $CHAT_message = preg_replace("/url:(.*?) /i", "\\1 ", $CHAT_message);rn $CHAT_message = preg_replace("/image:(.*?) /i", " ", $CHAT_message);rn $CHAT_message = preg_replace("/email:(.*?) /i", "\\1 ", $CHAT_message);rn $CHAT_message = preg_replace("/push:(.*?) /i", "".$LANG_pushed_page.": \\1 ", $CHAT_message);rnrn $CHAT[x] = $get["x"];rnrn $END_message .= "[".$CHAT_time."] ".$CHAT_author.": ".$CHAT_message."\n";rnrn rnrn mail($END_email, $LANG_chat_transcript." [$END_time]", $END_message, "From: \"$COMPANY_name's $LANG_hds\" ");rnrn rnrn123行是:"$END_header = $LANG_transcript_emailed." ".$END_email." [close window]";"这行,还有下面的123,124也是同样的问题,不知是什么问题,求教求教!!
求助 Main.obj : error LNK2001:
--------------------Configuration: Main - Win32 Debug--------------------rnLinking...rnMain.obj : <em>error</em> LNK2001: unresolved external symbol "public: __thiscall Fish::Fish(void)" (??0Fish@@QAE@XZ)rnDebug/Main.exe : fatal <em>error</em> LNK1120: 1 unresolved externalsrnError executing link.exe.rnrnMain.exe - 2 <em>error</em>(s), 0 warning(s)rnrnrn请高手指点这是什么错误啊 怎么修改啊
求助:log4cplus1.0.4 error 13
多线程下使用 log4cplus,其它使用都正常,就是在新增日志文件时报下面的错误,DailyRollingFileAppender 换天也是一样的错误!rnlog4cplus:ERROR Failed to rename file from xx.log to xx.log.1
求助error: expected a ")"
[code=C/C++][/code]#include rn#include rn#include rn#include rn#include rn#include rn#include rn#define N 10rn// Variablesrnchar * h_A;rnint * h_B;rnchar * d_A;rnint * d_B;rnrn__global__ void chartodet(char * A,int * B,int N)rnrn int i =threadIdx.x;rn if (i < N)rn B[i] = A[i] -'0';rnrnrn// Host codernint main(int argc, char** argv)rnrn printf("请输入要转化成数字的字符串:\n");rn int i;rn size_t sizeone = N * sizeof(char);rn size_t sizetwo=N*sizeof(int);rn h_A = (char*)malloc(sizeone);rn h_B = (int*)malloc(sizetwo);rn // Initialize input vectorsrn scanf("%s",h_A);rn for(i=0;i>>(d_A, d_B,N);rn cutilSafeCall( cudaMemcpy(h_B, d_B, sizetwo, cudaMemcpyDeviceToHost) );rn for(i=0;i------ 已启动生成: 项目: vectorAdd, 配置: Debug Win32 ------rn1>Compiling with CUDA Build Rule...rn1>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v3.2\\bin\nvcc.exe" -gencode=arch=compute_10,code=\"sm_10,compute_10\" -gencode=arch=compute_20,code=\"sm_20,compute_20\" --machine 32 -ccbin "d:\Program Files\Microsoft Visual Studio 9.0\VC\bin" -Xcompiler "/EHsc /W3 /nologo /Od /Zi /MTd " -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v3.2\/include" -I"./" -I"../../common/inc" -I"../../../shared/inc" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v3.2\\include" -maxrregcount=32 --compile -o "Debug/vectorAdd.cu.obj" vectorAdd.cu rn1>vectorAdd.curn1>c:/Users/InsUser/Desktop/ming/vectorAdd.cu(15): <em>error</em>: expected a ")"rn1>1 <em>error</em> detected in the compilation of "C:/Users/InsUser/AppData/Local/Temp/tmpxft_00002dc0_00000000-8_vectorAdd.compute_10.cpp1.ii".rn1>Project : <em>error</em> PRJ0019: 某个工具从以下位置返回了错误代码: "Compiling with CUDA Build Rule..."rn1>生成日志保存在“file://c:\Users\InsUser\Desktop\ming\Debug\BuildLog.htm”rn1>vectorAdd - 2 个错误,0 个警告rn========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========rn
关于live error求助
我在一台台式电脑上用VS2010,软件不会帮我实时检查(就像WORD里检查拼写错误一样,有红色下划线),但是在我的笔记本上就那个功能就很正常。我不知道在怎么打开那个功能,救助!!rnrnPS:我把我笔记本上的关于VS2010的设置文件导出,并导入到台式机上,但是台式机上还是不能用那个功能。。。
求助!Main.obj : error LNK2019
------ 已启动生成: 项目: Codes Manager, 配置: Debug Win32 ------rn生成启动时间为 2011-11-16 19:44:24。rnInitializeBuildStatus:rn 正在对“Debug\Codes Manager.unsuccessfulbuild”执行 Touch 任务。rnClCompile:rn 所有输出均为最新。rnResourceCompile:rn 所有输出均为最新。rnManifestResourceCompile:rn 所有输出均为最新。rnMain.obj : <em>error</em> LNK2019: 无法解析的外部符号 __imp__InitCommonControls@0,该符号在函数 _WinMain@16 中被引用rnJ:\文件\文档\Programming\C\Codes Manager\Debug\Codes Manager.exe : fatal <em>error</em> LNK1120: 1 个无法解析的外部命令rnrn生成失败。rnrn已用时间 00:00:01.39rn========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========rnrnrnrnrnrn以下是Main.cpp里的代码,我看了那个InitCommonControls()函数,我根本没有动过它,也不知道它是干什么用。rn// Cost List.cpp : Defines the entry point for the application.rn//rnrn#include "stdafx.h"rn#include "resource.h"rn#include "UserDlg.h"rn#include rnrnint APIENTRY WinMain(HINSTANCE hInstance,rn HINSTANCE hPrevInstance,rn LPSTR lpCmdLine,rn int nCmdShow)rnrn //Enable IPAddress、Calendar.etcrn InitCommonControls();rn DialogBox(hInstance, MAKEINTRESOURCE(IDD_USER), NULL, UserDlg_Proc);rn return 0;rnrnrn请大神们看一下啊
求助 指针 error C2440
怎么把另一个函数返回的指针赋给主函数的指针?rn#includernvoid main()rnrn int s1[100],n,j,*p;rn printf("数列排序\n");rn printf("输入整数的个数n:");rn scanf("%d",&n); rn printf("输入%d个整数:\n",n);rn for(j=0;j*(p1+j))rn rn les=*(p1+j);rn *(p1+j)=*(p1+i);rn *(p1+i)=les;rn rn rn return(*p1);rnrn--------------------Configuration: ceshi - Win32 Debug--------------------rnCompiling...rnceshi.cpprnD:\C file\测试\ceshi.cpp(13) : <em>error</em> C2440: '=' : cannot convert from 'int' to 'int *'rn Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style castrn执行 cl.exe 时出错.rnrnceshi.obj - 1 <em>error</em>(s), 0 warning(s)rnrn
求助error C2664
麻烦大牛看下代码,DEBUG时出现<em>error</em> C2664:rn[code=C/C++]rn#include rn#include rn#include rn#include rnusing namespace std;rnrnint main()rnrn string fname;rn map< string,vector > namemap;rn while (cin>>fname&&fname!="*")rn rn string gname;rn vector svector;rn while (cin>>gname)rn svector.push_back(gname);rn cin.clear();rn namemap.insert(fname,svector);rn rn return 0;rnrn[/code]
error,急,求助!!
我用visual studio MFC做了一个程序,有点击按钮,弹出【打开文件】对话框和【保存文件】对话框的功能的按钮,rn有时候点击按钮的时候就出现栈<em>error</em>。请问是什么原因,怎么解决?rn我是新手,请解说的详细点啊,拜托了。rn图片是弹出<em>error</em>的对话框。rn[img=http://hi.csdn.net/attachment/201111/24/10111546_1322115576qwqw.jpg][/img]rn还有按钮函数的代码。rn[code=C/C++]rnvoid FMLogicName::OpenLogicNameFile()rnrn CString strFileName;rn CStdioFile file;rn CFileDialog savedlg(true,rn _T("csv"),rn _T(""),rn OFN_OVERWRITEPROMPT|OFN_CREATEPROMPT,rn _T("CSV Files (*.csv)|*.csv")rn ,NULL);rn rn if (savedlg.DoModal() == IDOK)rn rn strFileName = savedlg.GetPathName();rn if (!file.Open (strFileName,CFile::modeReadWrite | CFile::typeText))rn rn MessageBox(_T("文件被打开"),"FM Radio",MB_ICONWARNING);rn return;rn rn elsern rn CString szFilePath = _T("FM Radio,,");rn CString strline;rn file.ReadString(strline);rn if(strline != szFilePath)rn MessageBox(_T("不是FM Radio文件"),"FM Radio",MB_ICONWARNING);return;rnrn file.ReadString(strline);rn file.ReadString(strline);rn file.ReadString(strline);rn file.ReadString(strline);rn rn while(file.ReadString(strline))rn rn int nIndex = m_listctrl1.GetItemCount();rn rn int comma[2];rn int k=0;rn for(int i=0; inDataSize, _bNoMansLandFill, nNoMansLandSize))rn rn if (pHead->szFileName)rn rn _RPT5(_CRT_ERROR, "HEAP CORRUPTION DETECTED: after %hs block (#%d) at 0x%p.\n"rn "CRT detected that the application wrote to memory after end of heap buffer.\n"rn _ALLOCATION_FILE_LINENUM,rn szBlockUseName[_BLOCK_TYPE(pHead->nBlockUse)],rn pHead->lRequest,rn (BYTE *) pbData(pHead),rn pHead->szFileName,rn pHead->nLine);//debug的中断点在这行rn rn elsern rn _RPT3(_CRT_ERROR, "HEAP CORRUPTION DETECTED: after %hs block (#%d) at 0x%p.\n"rn "CRT detected that the application wrote to memory after end of heap buffer.\n",rn szBlockUseName[_BLOCK_TYPE(pHead->nBlockUse)],rn pHead->lRequest,rn (BYTE *) pbData(pHead));rn rn rn[/code]
求助一个结构体error
我定义了一个RTC_VIDEO_DEVICE enVideo;rnrn运行总弹出一个Microsoft Visual C++ debug Library对话框rnrn说“Run-Timeb Chenk Failure #3-the varible 'enVideo' is being used without being defined”
fatal error C1033 ? 求助
fatal <em>error</em> C1033: cannot open program database 'e:\for_work\libmecab\debug\vc60.pdbrnrnmsdn:There was an <em>error</em> opening the .PDB file. This may be caused by a disk <em>error</em>rnrn我把Debug,Release目录删除,Rubuild All:这样的错误有减少不过还是有。rnrn再次build后出错信息变为:rnfatal <em>error</em> C1063:rnError executing cl.exe.rnSCMAKE: <em>error</em> BK1506 : cannot open file '.\Debug\file.sbr': No such file or directoryrnrn(附注:我的程序是由VC.net转成VC6.0程序,有许许多多个wearing)rnrn期盼高人指点!
求助“Runtime Error”
最近在学数据库的编程想写一个电话本的程序,刚刚开始就出问题了,当我选择nflag=1时,出现查询结果的同时出现“Runtime Error”,当我选择nflag=2时,结果都没有,过好长一会儿出现“Runtime Error”,不知道是怎么回事,请高手指点指点。rnvoid CPhoneBookDlg::OnBtnQuery() rnrn CoInitialize(NULL);rn _ConnectionPtr pConn(__uuidof(Connection));rn _RecordsetPtr pRst(__uuidof(Recordset));rn _CommandPtr pcmd(__uuidof(Command));rn pConn->ConnectionString="Provider=SQLOLEDB.1;Persist Security Info=False;Integrated Security=SSPI;User ID=sa;Initial Catalog=PhoneBook;Data Source=MICROSOF-B77E96";rn pConn->Open("","","",adConnectUnspecified);rn if(1==nflag)rn rn pRst=pConn->Execute("select * from famliy",NULL,adCmdText);rn while(!pRst->cjEOF)rn for(int i=0;iFields->Count;i++)rn m_list.InsertItem(i,(char*)(_bstr_t)(pRst->Fields->GetItem(_variant_t("famliy_id"))->GetValue()));rnrn m_list.SetItemText(i,1,(char*)(_bstr_t)(pRst->Fields->GetItem(_variant_t("famliy_name"))->GetValue()));rnrn m_list.SetItemText(i,2,(char*)(_bstr_t)(pRst->Fields->GetItem(_variant_t("famliy_phone"))->GetValue()));rnrn m_list.SetItemText(i,3,(char*)(_bstr_t)(pRst->Fields->GetItem(_variant_t("famliy_mobile"))->GetValue()));rn m_list.SetItemText(i,4,(char*)(_bstr_t)(pRst->Fields->GetItem(_variant_t("famliy_email"))->GetValue()));rnrn m_list.SetItemText(i,5,(char*)(_bstr_t)(pRst->Fields->GetItem(_variant_t("famliy_address"))->GetValue()));rn pRst->MoveNext();rn rn rn rn else if(2==nflag)rn pRst=pConn->Execute("select * from friends",NULL,adCmdText);rnrn while(!pRst->cjEOF)rn _variant_t varNo;rn _variant_t varName;rn _variant_t varAge;rn _variant_t varSex;rn _variant_t varPhone;rn _variant_t varMobile;rn _variant_t varQQ;rn _variant_t varEmail;rn _variant_t varAddress;rn rn varNo = pRst->GetCollect("friends_id");rn varName = pRst->GetCollect("friends_name");rn varAge= pRst->GetCollect("friends_age");rn varSex = pRst->GetCollect ("friends_sex");rn varPhone=pRst->GetCollect("friends_phone");rn varMobile=pRst->GetCollect("friends_mobile");rn varQQ=pRst->GetCollect("friends_qq");rn varEmail=pRst->GetCollect("friends_email");rn varAddress = pRst->GetCollect ("friends_address");rn rn CString strNo =(char *)_bstr_t(varNo);rn CString strName =(char *)_bstr_t(varName);rn CString strAge =(char *)_bstr_t(varAge);rn CString strSex =(char *)_bstr_t(varSex);rn CString strPhone =(char *)_bstr_t(varPhone);rn CString strMobile =(char *)_bstr_t(varMobile);rn CString strQQ =(char *)_bstr_t(varQQ);rn CString strEmail =(char *)_bstr_t(varEmail);rn CString strAddress =(char *)_bstr_t(varAddress);rn rn strNo.TrimRight();rn strName.TrimRight();rn strAge.TrimRight();rn strSex.TrimRight();rn strPhone.TrimRight();rn strMobile.TrimRight();rn strQQ.TrimRight();rn strEmail.TrimRight();rn strAddress.TrimRight();rn rnfor(int i=0;iGetRecordCount();i++)rn m_list.InsertItem (i,strNo);rn m_list.SetItemText (i,1,strNo);rn m_list.SetItemText (i,2,strName);rn m_list.SetItemText (i,3,strAge);rn m_list.SetItemText (i,4,strSex);rn m_list.SetItemText(i,5,strPhone);rn m_list.SetItemText(i,6,strMobile);rn m_list.SetItemText(i,7,strQQ);rn m_list.SetItemText(i,8,strEmail);rn m_list.SetItemText(i,9,strAddress);rnrn pRst->MoveNext();rnrn rn else if(3==nflag)rn pRst=pConn->Execute("select * from client",NULL,adCmdText);rn while(!pRst->cjEOF)rn ((CListBox *)GetDlgItem(IDC_LIST))->AddString(rn (_bstr_t)pRst->GetCollect("client_mobile"));rn pRst->MoveNext();rn rn rn else MessageBox("请选择一个表!");rn rn pRst->Close();rn pConn->Close();rn pRst.Release();rn pConn.Release();rn CoUninitialize();rnrnrn
求助:There is an error in XML document
There is an <em>error</em> in XML document rn c# winform客户端调用webservice方法时,偶尔会发生这个错误! rn webservice方法的参数为DataSet! rn 这个错误是为什么呢? .net 1.1环境
Server Error in '/' Application. 求助!!
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
新手求助 error C2664:
我是初学MFC,想建立一个单文档显示hello,但按照步骤做完以后,出现问题,自己没研究明白,求指教,用的VS2008rn<em>error</em> C2664: “BOOL CDC::TextOutW(int,int,const CString &)”: 不能将参数 3 从“const char [2]”转换为“const CString &”rn1> 原因如下: 无法从“const char [2]”转换为“const CString”rn我改变第三个实参后char [2]中的数据随之改变,求指教,第三个参数要怎么赋
求助:DataWindow Error???
在数据窗口进行检索时,检索参数正确,也能检索到对应的记录!rn但却提示:DataWindow Error,select <em>error</em> :第1行:'='附近有语法错误rn在update()时,也出现同样的错误提示,并且更新不成功!rn这是为何??原因何在?
求助 编译出错error C2079
编译TransferSocket.ccp时,提示rnTransferSocket.cpprnd:\doc\transfer\transferdlg.h(33) : <em>error</em> C2146: syntax <em>error</em> : missing ';' before identifier 'm_TransferSocket'rnd:\doc\transfer\transferdlg.h(33) : <em>error</em> C2501: 'CTransferSocket' : missing storage-class or type specifiersrnd:\doc\transfer\transferdlg.h(33) : <em>error</em> C2501: 'm_TransferSocket' : missing storage-class or type specifiersrnD:\doc\Transfer\TransferSocket.cpp(102) : <em>error</em> C2039: 'm_TransferSocket' : is not a member of 'CTransferDlg'rn d:\doc\transfer\transferdlg.h(19) : see declaration of 'CTransferDlg'rnD:\doc\Transfer\TransferSocket.cpp(102) : <em>error</em> C2228: left of '.SendMessageA' must have class/struct/union typern编译ServerSocket.cpp时,也有类似错误rn但编译TransferDlg.cpp通过rn为什么?rnrnTransferSocket.hrnrn#include "afxsock.h"rn#include "TransferDlg.h"rn#include "Messg.h"rnrnclass CTransferDlg;rnrnclass CTransferSocket : public CSocketrnrn// Attributesrnpublic:rn CArchive* m_aSessionIn;rn CArchive* m_aSessionOut;rn CSocketFile* m_sfSocketFile;rnrn CTransferDlg* m_dlg;rn .....rn;rnrnServerSocket.hrn#include "afxsock.h"rn#include "TransferDlg.h"rnclass CTransferDlg;rnrnclass CServerSocket : public CSocketrnrn// Attributesrnpublic:rnrn// Operationsrnpublic:rn CServerSocket();rn virtual ~CServerSocket();rnrn// Overridesrnpublic:rn CTransferDlg *m_dlg;rn void Init(CTransferDlg* dlg);rn ....rn;rnrnTransferDlg.hrn#include "ServerSocket.h"rn#include "TransferSocket.h"rnrnclass CTransferDlg : public CDialogrnrn// Constructionrnpublic:rn CTransferDlg(CWnd* pParent = NULL); // standard constructorrn CStringArray m_LocalShareFiles;rn CStringArray m_RemoteShareFiles;rn CStringArray m_NeedTransferFiles;rn CStringArray m_NeedReceiveFiles;rn BOOL m_bClient;rn BOOL m_bOnLine;rn CServerSocket m_ServerSocket;rn CTransferSocket m_TransferSocket;rn ....rn;
求助:Fatal Error C1010
rnunexpected end of file while looking for precompiled header directivernrn 经常遇到这种情况,我发现只要在每个cpp文件开头都加上#include "stdafx.h",就行了。但有时候对一些作为库使用的cpp文件最好还是不要加这些东西,请问还有什么其他的解决办法么?最好也能仔细讲一下其中的原理,谢谢了先。
新手求助,syntax error ''
#include rnrnusing namespace std;rnrnstruct Studentrnrn long id;rn char gender;rn int age;rn int money;rn;rnrnStudent InitializeStudent(long id, char gender, int age, int money, int manualinput=0);rnvoid DisplayStudent(Student currentstudent);rnrnint main()rnrn const int Array_Size=5;rn Student array[Array_Size];rn array[0]=InitializeStudent(9413599, 'M', 25, 10001,0);rn array[1]=InitializeStudent(9513622, 'M', 22, 500,0);rn array[2]=InitializeStudent(9613812, 'F', 20, 30,0);rn array[3]=InitializeStudent(9713964, 'F', 18, 66000,0);rn array[4]=InitializeStudent(0, ' ', 0, 0,1);rn for (int i=0; i!=Array_Size; i++)rn rn DisplayStudent(array[i]);rn rn return 0;rnrnrnStudent InitializeStudent(long id, char gender, int age, int money, int manualinput)rnrn Student newstudent;rn if (manualinput==0)rn rn newstudent = [color=#FF0000][/color]id,gender,age,money;//LINE 37rn rn elsern rn cout<> newstudent.id;rn cout<>newstudent.gender;rn cout<>newstudent.age;rn cout<>newstudent.money;rn rn return newstudent;rnrnrnrn以下是<em>error</em> information. 我用的IDE是visual studio.rn全都发生在LINE 37rnrnError 1 <em>error</em> C2059: syntax <em>error</em> : '' rnError 2 <em>error</em> C2143: syntax <em>error</em> : missing ';' before '' rnError 3 <em>error</em> C2143: syntax <em>error</em> : missing ';' before '' rnError 4 IntelliSense: expected an expression rnrn请问我是哪里错了呢? 欢迎任何评论~
range check error 求助
varrnmylist : array of TmyRecord;rnrnprocedure btn1Click(Sender:Tobject);rnbeginrn setlength(mylist,0);rn regex.inputstring := idhttp.get(url);rn regex.Expression:='xxxxxxxx"';rnrn if regex.Exec then beginrn repeatrn SetLength(mylist,Length(mylist)+1);rn mylist[Length(mylist)-1].field1:= regex.Match[1];rn until not regex.ExecNext;rn end;rnend;rnrn点击按钮 btn1 提示 range check <em>error</em>,没有跳到错误行,不是每次调试都出错,rn如果出错再点击第二次就不再提示出错,不知道错哪了。
求助 Error filterStart
2011-5-26 11:08:15 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2011-5-26 11:08:15 org.apache.catalina.core.StandardContext startrn严重: Context [/struts2_0010] startup failed due to previous <em>error</em>srn2011-5-26 11:08:16 org.apache.coyote.http11.Http11Protocol startrn严重: Error starting endpointrnjava.net.SocketException: Unrecognized Windows Sockets <em>error</em>: 0: JVM_Bindrn at java.net.PlainSocketImpl.socketBind(Native Method)rn at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)rn at java.net.ServerSocket.bind(ServerSocket.java:319)rn at java.net.ServerSocket.(ServerSocket.java:185)rn at java.net.ServerSocket.(ServerSocket.java:141)rn at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)rn at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:496)rn at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:515)rn at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:204)rn at org.apache.catalina.connector.Connector.start(Connector.java:1132)rn at org.apache.catalina.core.StandardService.start(StandardService.java:531)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2011-5-26 11:08:16 org.apache.catalina.startup.Catalina startrn严重: Catalina.start: rnLifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.SocketException: Unrecognized Windows Sockets <em>error</em>: 0: JVM_Bindrn at org.apache.catalina.connector.Connector.start(Connector.java:1139)rn at org.apache.catalina.core.StandardService.start(StandardService.java:531)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2011-5-26 11:08:16 org.apache.catalina.startup.Catalina startrn信息: Server startup in 24620 msrn2011-5-26 11:08:16 org.apache.catalina.core.StandardServer awaitrn严重: StandardServer.await: create[8005]: rnjava.net.BindException: Address already in use: JVM_Bindrn at java.net.PlainSocketImpl.socketBind(Native Method)rn at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)rn at java.net.ServerSocket.bind(ServerSocket.java:319)rn at java.net.ServerSocket.(ServerSocket.java:185)rn at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)rn at org.apache.catalina.startup.Catalina.await(Catalina.java:630)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:590)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2011-5-26 11:08:16 org.apache.coyote.http11.Http11Protocol pausern信息: Pausing Coyote HTTP/1.1 on http-8080rn2011-5-26 11:08:16 org.apache.catalina.connector.Connector pausern严重: Protocol handler pause failedrnjava.lang.NullPointerExceptionrn at org.apache.jk.server.JkMain.pause(JkMain.java:679)rn at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153)rn at org.apache.catalina.connector.Connector.pause(Connector.java:1074)rn at org.apache.catalina.core.StandardService.stop(StandardService.java:563)rn at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)rn at org.apache.catalina.startup.Catalina.stop(Catalina.java:616)rn at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:659)
ERROR 1044 求助
刚开始接触php,我安装的是appserv-win32-2.5.10开发环境,rn现在做了个php,与mysql连接时出现如下错误 百度了很多方法都无法解除该错误 rnERROR 1044 (42000): Access denied for user ''@'localhost' to database 'seawall_development'rn
求助error C2676: binary '|'
这两天学校实训,在做一个学生信息管理系统。这是是删除部分的错误:rnrn<em>error</em> C2676: binary '|' : 'enum std::ios_base::_Openmode' does not define this operator or a conversion to a type acceptable to the predefined operatorrnrnrn那条语句: out.open(Class.c_str(),ate | in);rnrnrn以下是那个函数具体实现:rnbool DelRecord(string Class,string Stoid) //删除rnrn Class=FILE_HEAD + Class + FILE_END;rn std::ifstream in(Class.c_str()); //读取文件内容,以查找是否有特殊数据rnrn std::ios::pos_type file_now; rn std::ios::pos_type temp_now=in.tellg();rn int answer=0; //用来纪录是否有"**"纪录rnrn clsStudent stu;rn if(!in) //如果该文件存在,就进入循环,查找是否有相同纪录rn rn return false;rn rn elsern rn std::ofstream out(Class.c_str(),app); //如果该文件存在,就打开该文件rn out.close();rn out.open(Class.c_str(),ate | in); //************************** 此句为错误语句 ************************// rnrn while(!in.eof())rn in>>stu;rnrn if(stu.stoid==Stoid) //如果有相同的学号(stoid),提示并返回rn rn out.seekp(temp_now);rn out<
求助:编译错误!error C2665
e :\visual stdio\book\c++ primer(ms_files)\13\folder.cpp(144) : <em>error</em> C2665: 'vector >::vector >' : none of the 4 overloads can convert parameter rn1 from type 'class std::_Tree,class std::allocator >::_Kfn,struct std::less,class std::allocator >::iteratornr'rne:\visual stdio\book\c++ primer(ms_files)\13\folder.cpp(149) : <em>error</em> C2665: 'vector >::vector >' : none of the 4 overloads can convert paramernter 1 from type 'class std::_Tree,class std::allocator >::_Kfn,struct std::less,class std::allocatorrn >::iterator'
error LNK2001,求助
有一C程序,现在vc6中运行,编译时出现<em>error</em> LNK2001: unresolved external symbol _next_start_code。请问是什么原因?
求助--RUNTIME ERROR?
编写了一个IOCP方式的TCP Server,若干个IO Worker线程接收Client发来的数据包并进行解析,然后采用ADO方式把数据包中包含的数据添加到SQL SERVER的数据表中。rn程序在大部分情况下没有问题,但是偶尔会出现Runtime <em>error</em>(运行时间长短不确定,有时运行一个小时就会出现错误,有时运行一天也没有错误。。。)rnrn错误信息:unknown software exception(0x40000015), 位置为0x0051ad38rn查看map文件:rn 0001:00119c02 ??0bad_exception@std@@QAE@ABV01@@Z 0051ac02 f i libcmt:frame.objrn 0001:00119c1f ___InternalCxxFrameHandler 0051ac1f f libcmt:frame.objrn 0001:00119d05 ?terminate@@YAXXZ 0051ad05 f libcmt:hooks.objrn 0001:00119d3e ?unexpected@@YAXXZ 0051ad3e f libcmt:hooks.objrn 0001:00119d51 ?_inconsistency@@YAXXZ 0051ad51 f libcmt:hooks.objrn 0001:00119d89 __initp_eh_hooks 0051ad89 f libcmt:hooks.objrnrn请教高手,错误可能由什么造成?rn现在没有什么头绪。。
[求助]fatal error C1083
第一次编写嵌入式SQL,按照网上说的,我先写了.sqc文件,然后用DB2自带的预编译器prep将其转换成了.c文件,然后再在VS2008下建立个空工程,再将刚才生成的.c文件加到源文件中区,编译就出现了如下错误:rnrnrn fatal <em>error</em> C1083: 无法打开包括文件:“sqladef.h”: No such file or directoryrnrn 我已经试过将DB2中的sqladef.h文件拷到VS2008文件夹include的目录下了,可是不知道为什么还是出现上面的错误。rn <em>求助</em>大虾帮忙啊!谢谢~~~
求助:general network error!!!
各位:rn 我在的机器客户端在连接SQL-SERVER时出现错误提示:rngeneral network <em>error</em>!!! check your network documentation !!rn我试图重新注册服务器,但是企业管理器提供给我的供选服务器是一个都没有估计是它找不到局网中的其他服务器;我们网内的共他机器都可以正常访问数据库服务器!!rn请高手提点!!!
求助:fatal error LNK1104
编译时出现下面得错误:rn--------------------Configuration: AutoExe - Win32 Debug--------------------rnLinking...rnLINK : fatal <em>error</em> LNK1104: cannot open file "Debug/AutoExe.exe"rnError executing link.exe.rnrnAutoExe.exe - 1 <em>error</em>(s), 0 warning(s)rnrn大虾帮忙分析是什么错误,如何解决啊?rn注:该文件是存在的
求助-error C2061: syntax error : identifier 'CDC'
程序编的好好的,,引用DLL的头文件时候出现了这个问题rnVC6.0+MFCrnrn--------------------Configuration: Linstcaral - Win32 Release--------------------rnCompiling...rnStdAfx.cpprnX:\林街狂欢\Linstcaral\../Resmain/ResN000.h(15) : <em>error</em> C2061: syntax <em>error</em> : identifier 'CDC'rn执行 cl.exe 时出错.rnrnLinstcaral.exe - 1 <em>error</em>(s), 0 warning(s)
compiling is error :fatal error C1083 (紧急求助)
紧急<em>求助</em>,我用ADO做了一个非MFC 的DLL,但是编译出错?rnCompiling...rnemcid1.cpprnc:\program files\microsoft visual studio\myprojects\emcid1\emcid1.cpp(5) : fatal <em>error</em> C1083: Cannot open precompiled header file: 'Debug/emcid1.pch': No such file or directoryrnError executing cl.exe.
求助error C2061: syntax error : identifier 'LPCWAVEFORMATEX'
WINMMAPI MMRESULT WINAPI waveOutOpen(LPHWAVEOUT phwo, UINT uDeviceID,rn LPCWAVEFORMATEX pwfx, DWORD dwCallback, DWORD dwInstance, DWORD fdwOpen);rnrnrn…………rnWINMMAPI MMRESULT WINAPI waveInOpen(LPHWAVEIN phwi, UINT uDeviceID,rn LPCWAVEFORMATEX pwfx, DWORD dwCallback, DWORD dwInstance, DWORD fdwOpen);rnrnrnrn……rnrnrnrn<em>error</em> C2061: syntax <em>error</em> : identifier 'LPCWAVEFORMATEX'rn<em>error</em> C2061: syntax <em>error</em> : identifier 'LPCWAVEFORMATEX'rnrn出现这个怎么解决呢,麻烦了谢谢O(∩_∩)O谢谢
新手求助error C2373 error C2065
#includernvoid main()rnrn int a,b,gcd,lcm;rn printf("请输入2个数:");rn scanf("%d%d",&a,&b);rn gcd=f1(a,b);rn lcm=f2(a,b,gcd);rn printf("最大公约数为:%d,最小公倍数为:%d",gcd,lcm);rnrnf1(int x,int y)rnrn int t;rn while(t!=0)rn rn t=x%y;x=y;y=t;rn rn return(y);rnrnf2(int x,int y,int gcd)rnrn int s;rn s=x*y/gcd;rn return(s);rnrnrn--------------------Configuration: ceshi - Win32 Debug--------------------rnCompiling...rnceshi.cpprnD:\C file\测试\ceshi.cpp(7) : <em>error</em> C2065: 'f1' : undeclared identifierrnD:\C file\测试\ceshi.cpp(8) : <em>error</em> C2065: 'f2' : undeclared identifierrnD:\C file\测试\ceshi.cpp(12) : <em>error</em> C2373: 'f1' : redefinition; different type modifiersrnD:\C file\测试\ceshi.cpp(21) : <em>error</em> C2373: 'f2' : redefinition; different type modifiersrn执行 cl.exe 时出错.rnrnceshi.obj - 1 <em>error</em>(s), 0 warning(s)
[求助]error C2059: syntax error : 'type'
#includern#include"string.h"rnrnvoid inputdata();rnvoid cacludata();rnvoid statisdata();rnvoid querydata();rnrnchar name[100][15];rnfloat score[100][4];rnint sum;rnint main()rnrn rnrnrn rn int choo;rn printf("请输入实际学生人数:");rn scanf("%d",&sum);rn while(1)rn rn printf("请选择下面的某一项任务:");rn printf("\n(1)输入每个学生的姓名,平时成绩,期中成绩,期末成绩");rn printf("\n(2)计算并输出每个学生的总评成绩。");rn printf("\n(3)根据总评成绩对学生分类统计,输出各分数段的学生数。") ;rn printf("\n(4)根据根据输入的学生姓名,查找并打印该学生的各项成绩") ;rn printf("\n(5)结束程序运行");rn printf("\n请输入你的选择(1或2或3或4或5):") ;rn scanf("%d",&choo);rn if(choo>=5)break;rn switch(choo)rn rn case 1 : inputdata(); break;rn case 2 : cacludata(); break;rn case 3 : statisdata(); break;rn case 4 : querydata(); break;rn rn rn printf("\n程序运行结束,再见。");rnrnrnvoid inputdata()rnrn int i;rn for(i=0;i90的人数是:%d",grade[4]);rn printf("\n总评成绩>80且70且60且< 70的人数是:%d",grade[1]);rn printf("\n总评成绩);rn gets(lookname);rn for(i=0;i
求助error: Error parsing XML: mismatched tag
rnrn rn rn rn rn [color=#FF0000][/color]rnrn总是报: Error parsing XML: mismatched tag错误,但不知道哪里有问题,谢谢!!
求助】①error C2059: syntax error : 'type' ② error C2065: 'result' : undeclared
#includern#includern#include                    //包含exit()函数rn#include                    //包含isdigit()函数rntypedef int datatype;                //定义datatype为intrn#include"linstack.h"                //包含linstack.h头文件rnint postexp(char str[])rn//借助堆栈计算后缀算术表达式str的值rnrn    datatype x,x1,x2;rn    int i;rn    lsnode *head;                    //定义头指针变量headrn    stackinitiate(&head);            //初始化链式堆栈headrn    for(i=0;str[i]!='#';i++)rn    rn        if(isdigit(str[i]))            //当str[i]为操作数时rn        rn            x=(int)(str[i]-48);    //转换成int类型数据并存入变量x中rn            stackpush(head,x);        //x入栈rn        rn        else                        //当str[i]为运算符时rn        rn            stackpop(head,&x2);        //退栈得到操作数,存入变量x2中rn            stackpop(head,&x1);        //退栈得到被操作数,存入变量x1中rn            switch(str[i])rn            rn                case '+':x1+=x2;break;rn                case '-':x1-=x2;break;rn                case '*':x1*=x2;break;rn                case '/':rn                    if(x2==0.0)rn                    rn                        printf("除数为0错!\n");rn                        exit(0);rn                    rn                    elsern                    rn                        x1/=x2;rn                        break;rn                    rn            rn            stackpush(head,x1);         //运算结果入栈rn        rn    rn    stackpop(head,&x);                //得到计算结果,存入x中rn    return x;rnrnvoid main(void)rnrn    char str[]="3642/-5*+#",        //测试数据rn    int result;rn    result=postexp(str);rn    printf("后缀算术表达式计算结果为:%d",result);rnrnrn这是我按照课本写的程序代码,用VC++编写的,编译后提示有一条错误。rnrn自己改了好久也没有解决,所以来请教各位大佬!rnrnCompiling...rn3-4.crnD:\数据结构\3-4.c(51) : <em>error</em> C2059: syntax <em>error</em> : 'type'rnD:\数据结构\3-4.c(52) : <em>error</em> C2065: 'result' : undeclared identifierrn执行 cl.exe 时出错.rnrnrnrn
求助:关于debug error的问题!
我在做一道编程练习,写到中间突然想起来scanf()的返回值的问题,于是暂时改成这样来测试:rnrn[code=c]#includernrn//void Temperatures(Fahrenheit);rnrnint main()rnrn int input_type; //用于判断输入是否为数字 是为1,否为0rn double fahrenheit;rnrn input_type = scanf("%f",&fahrenheit);rn printf("%d",input_type);rnrn return 0;rn[/code]rnrn结果输入完数之后执行到printf(),弹出来这样一个对话框rn[img=https://img-bbs.csdn.net/upload/201502/08/1423382346_959837.png][/img]rnrn这是怎么回事?我的代码里有问题吗?还是什么别的原因?或者直接告诉我这个问题:要求输入double类型,而用户输入了int类型,scanf()函数的返回值到底是0还是1?
关于使用socket的error求助
我最近写了个简陋的后台聊天室程序,代码在自己的台式机上运行正常,在公司的笔记本就编译错误rnjava.net.SocketException:Unrecognized Windows Sockets <em>error</em>:10106:creatern后来我干脆自己去掉所有功能就写创建端口的代码:rn[code=java]rnimport java.io.IOException;rnimport java.net.ServerSocket;rnrnpublic class servertest rn private ServerSocket server;rn public servertest()rn try rn server = new ServerSocket(8088);rn catch (IOException e) rn // TODO Auto-generated catch blockrn e.printStackTrace();rn rn rn rn public static void main(String[] args) rn servertest server = new servertest();rn rnrnrn[/code]rn然后还是报上述错误。rn我查看过好几次,8088端口确定没有占用。然后,就是这台电脑的网络连接有问题,意思就是无论是有线网还是无线网,连接后在网络连接都是显示连接成功的,但是真的要浏览网页的时候却打不开网页,和这个问题有没有关系?请指教
求助:OpenCV GUI Error Handler
最近我在做OpenCV的一个视频会议系统,采用的是网上的开源项目Omnimeeting.可是当我试图在本机上进行视频传输时却出现了错误:rnBad argument(Array should be CvMat or IplImage)rnin function cvGetSize,C:\User\VP\opencv\cxcore\src\cxarray.cpp(1453)rn首先,C:\User\VP\opencv\cxcore\src\cxarray.cpp 这个路径根本就不存在我本机。而且,我试图检查是否参数传递有错,发现也没错。求大侠帮忙啊!
求助error C2146: 语法错误 : 缺少“;”??
已经在头文件中加入了:include rnrn在类定义中加入rnrnpublic:rn CImage image;rnrn提示<em>求助</em>:<em>error</em> C2146: 语法错误 : 缺少“;”(在标识符“image”的前面)rnrn请问是怎么回事?我快急死了
求助 msvcprtd.lib(MSVCP90D.dll) : error LNK2005
我现在的工程使用了第三方库recognizer.lib, recognizer.lib已经在linker->input->additional dependencies中添加;rnRuntime library为/MDd, LIBCPMT.LIB,LIBCPMTD.LIB在ignore specific library中添加。 我在网上查找了很久,但是还是没有解决这个问题,出现的错误如下:rnrnrn1>Linking...rn1>msvcprtd.lib(MSVCP90D.dll) : <em>error</em> LNK2005: "public: class std::locale::facet * __thiscall std::locale::facet::_Decref(void)" (?_Decref@facet@locale@std@@QAEPAV123@XZ) already defined in recognizer.lib(CIScribble.obj)rn1>LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:libraryrn1>recognizer.lib(CIScribble.obj) : <em>error</em> LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype ::id" (?id@?$ctype@D@std@@2V0locale@2@A)rn1>recognizer.lib(CIScribble.obj) : <em>error</em> LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)rn1>.\..\bin/Caligula.exe : fatal <em>error</em> LNK1120: 2 unresolved externalsrn1>Build log was saved at "file://c:\Documents and Settings\kding\Desktop\CALITEST\app_examples\Caligula\Debug\BuildLog.htm"rn1>Caligula - 4 <em>error</em>(s), 18 warning(s)rn========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
新手求助,error C2676: binary '>>'
错误是:rnnum5.cpprnE:\C++_Projects\TestVC6\num5.cpp(6) : <em>error</em> C2676: binary '>>' : 'class std::basic_ostream >' does not define this operator or a conversion to a type acceptable to the predefined operatorrnError executing cl.exe.rn什么意思啊?rn我有自学过Java,现在学校开C++这门课,第一天用vc++6.0,让我感觉非常非常非常的别扭与不方便......rn==================================================================================================rn为什么会有这样的错误呢?rn我的工程里就两个c++程序,一个num4.cpprn#includernusing namespace std;rnrnstruct Point rn int x, y;rn;rnrnvoid main() rn int result;rn Point p;rn cout <>p.x >>p.y;rn result = p.x * p.y;rn cout <
求助:Error creating form问题
装过spcomm控件后,打开主Form时,出现错误:Error creating form:Invalid property value on line 10413.并且按F12也不出现主Form!请高手们指点~
求助,如何catch一个Error
做的应用关掉主界面后总是要提示rnrn应用程序发生异常 未知的软件异常(0x0eedfade),位置为0x77e7e8bb。rnRuntime <em>error</em> 217 at 0000A1CCrnrn对程序运行没影响,但总是很难看,怒了,想把这段东西给干掉,但是发现好象catch不到,请各位高手指教
求助,Mysql ERROR 2049 的错误
在centos5.5下装lamp,用的是www.centos.bz的ezhttp一键安装,第一次可以,重裝系统后再配置就出现这问题了rnERROR 2049 (HY000): Connection using old (pre-4.1.1) authentication protocol refused(client option 'secure_auth' enabled)rn我的mysql版本是5.6.12
求助:CXX0017:ERROR:symbol "" not found
VC6.0写二叉树程序,一直出现CXX0017:ERROR:symbol "" not foundrn<em>求助</em>,怎么解决啊rn[code=cvoid InsertBST(BSTree *bst,int key)rnrn BSTNod *s;rn if ( bst == NULL)/*递归结束条件*/rn rn s = (BSTree)malloc(sizeof(BSTNod)) ;//申请新的节点srn s->key = key;rn s->lchild =NULL;rn s->rchild =NULL;rn bst = &s ;rn rn else if (key < ( (*bst)->key) )rn rn InsertBST(&((*bst)->lchild),key);/*将s插入左子树*/rn rn else if (key > ((*bst)->key))rn rn InsertBST(&((*bst)->rchild),key);/*将s插入右子树*/rn rnrnrnrnvoid CreateBST(BSTree *bst)rnrn int key;rn bst = NULL;rn scanf("%d",&key);rn while (key != 0) /*输入0结束*/rn rn InsertBST(bst,key);rn scanf("%d",&key);rn rnrnrnvoid InOrder(BSTree *bst)rnrn if (bst != NULL)rn rn InOrder(&(*bst)->lchild);rn printf("%d ",(*bst)->key);rn InOrder(&(*bst)->rchild);rn rnrnrnrnint main()rnrn BSTree *root = NULL;rn CreateBST(root);rn InOrder(root);rn return 0;rn][/code]
求助】socket write error错误~~
在两台服务器上同时布署一套同样的程序,在一台服务器上正常,另外一台运行不了多久就报下面这个错误,请问是怎么回事?想了很多办法都没有解决?rnrnjava.sql.SQLException: Io 异常: Connection reset by peer: socket write <em>error</em>rn at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)rn at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)rn at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)rn at oracle.jdbc.driver.OracleStatement.(OracleStatement.java:503)rn at oracle.jdbc.driver.OracleStatement.(OracleStatement.java:518)rn at oracle.jdbc.driver.OracleConnection.privateCreateStatement(OracleConnrnection.java:680)rn at oracle.jdbc.driver.OracleConnection.createStatement(OracleConnection.rnjava:582)rn at org.apache.commons.dbcp.DelegatingConnection.createStatement(DelegatirnngConnection.java:180)rn at lonwin.util.TomcatPool.init(TomcatPool.java:42)rn
求助 I/O Error 231
Delphi 7.0编写的打印程序,直接将要打印的内容以字符串的形式,送至LPT1。rn当要打印的数据比较多时,rn出现异常:I/O Error 231。rn上网查询为:Error_Pipe_Busy,All pipe instances are busy,所有的管道实例都在运行中 错误。rn请问:如何解决这个问题。rnrn谢谢!!!
求助!!郁闷死了!error c2679
#includern#includern#includern#includernstruct studentrnrn char name[20];rn float height;rn student *next;rn;rnvoid main()rnrn student a[100];rn int i;rn cout<>a[i].name>>a[i].height;rn a[i].next=NULL;rn rn ofstream fout("student.txt");rn if(!fout)rn cout<<>b[i].name>>b[i].height>>b[i].next)rn i++;rn student *head;rn int j;rn head=b;rn for(i=1;iheightheight)rn rn b[i].next=head;rn head=&b[j];rn rn for(j=0;jname<<>temp;rn student s;rn while(fin>>s.name>>s.height>>s.next)rn rn int k;rn k=stricmp(s.name,temp);rn if(k==0)rn rn cout<>' : no operator defined which takes a right-hand operand of type 'struct student *' (or there is no acceptable conversion)rnD:\Cheung\阅读器\temp2\a.cpp(35) : fatal <em>error</em> C1903: unable to recover from previous <em>error</em>(s); stopping compilationrn执行 cl.exe 时出错.rnrna.obj - 1 <em>error</em>(s), 0 warning(s)rn
求助:关于fatal error CVT1100
大家好,我在工程里面有几个rc文件,其中aaa.rc下面有一个icon目录,下面放了一些icon,供aaa.rc文件使用。rn我现在在bbb.rc下面,又新add了一个icon,在bbb.rc下面自动生成了一个icon目录!rnrn大体工程结构:rn+主工程rn+++aaa.rcrn++++++Iconrn++++++...(其它Menu,dialog等)rn+++bbb.rcrn++++++Iconrn++++++...(其它Menu,dialog等)rnrn现在问题是,我在编译时候,link时出现下面的错误:rnrn1>Linking...rn1>CVTRES : fatal <em>error</em> CVT1100: duplicate resource. type:ICON, name:1, language:0x0411rn1>LINK : fatal <em>error</em> LNK1123: failure during conversion to COFF: file invalid or corruptrnrn谁能告诉我怎样解决呢?谢谢了!
error: U1196"错误">求助"Internal error: U1196"错误
我在D6执行编译时,却出现"Internal <em>error</em>: U1196",请问有高手知道如何解决吗?谢谢!!
求助】ADODB.Recordset error '800a0bb9'错误
rnrn提示错误信息如下:rnrnADODB.Recordset <em>error</em> '800a0bb9' rnrnArguments are of the wrong type, are out of acceptable range, or are in conflict with one another. rnrn/gsjs.asp, line 49 rnrnrn文件页面部分代码:(红色部分为错误行)rnrnrn rnrnrn
求助!VS2013 fatal error RC1015
新手入门,刚装完vs2013,新建一个MFC,完成之后它立即就提示说 fatal <em>error</em> RC1015 找不到"afxres.h",我的系统是win7,rn百度了一下有的说是属性里面没弄清楚可是我弄完了还是不行的 vs2013重装过了没用rn项目的VC++目录分别为rn可执行文件目录 C:\Program Files %28x86%29\Microsoft SDKs\Windows\v7.1A\Bin;$(ExecutablePath)rn包含目录 C:\Program Files %28x86%29\Microsoft SDKs\Windows\v7.1A\Include;$(IncludePath)rn库目录 C:\Program Files %28x86%29\Microsoft SDKs\Windows\v7.1A\Lib;$(LibraryPath)rnrnrn[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/11.gif][/img]<em>求助</em>各位!!!!!!!
求助错误—— error C2040: 'getStringArray'
函数原型char ** getStringArray(char * str,int oneWidth,str_Count strCount_func[strNum])该函数运行出现错误rn<em>error</em> C2040: 'getStringArray' : 'char **(char *,int,str_Count *)' differs in levels of indirection from 'int ()'rnrn这个函数本来是放在某个C文件(假设是A.c)中的,我把这个函数全部移动到同一个工程下的另一个文件(假设B.c),移动前是正确的,移动之后就出现了这样的错误,错误指向上面写的函数,为什么?纠结啊~!
求助;syntax error before“int”
void main()rnrn outputlink();rn [color=#FF0000]insert(int x,int y);[/color]rn delectlink(int x);rn printf("第一次扫描输出:\n");rn outputlink();rn insert(10,10);rn insert(10,20);rn insert(10,30);rn insert(40,40);rn printf("\n第二次扫描输出:\n");rn outputlink();rn delectlink(30);rn delectlink(50);rn printf("\n第三次扫描输出:\n");rn outputlink();rnrn红色的那一行出错哦,不过我感觉没错啊,就是看不出来。
求助,VxWorks硬盘启动,ERROR
从硬盘启动vxworks,错误提示如下:rnAttaching to ATA disk device...done.rnLoading /ata0/vxWorks...rn0x2f7e5c (tBoot):disk cache <em>error</em>:device 2c9730 block 0 <em>error</em> 0,disk read failedrn0x2f7e5c (tBoot):disk cache <em>error</em>:device 2c9730 block 0 <em>error</em> c0003,disk read failedrnusrFdiskPartParse:<em>error</em> reading block 0,<em>error</em> c0003rnusrFdiskPartParse <em>error</em> rnrnCannot open "/ata0/vxworks".rnrnError loading file:errno = 0xc0003.rnCan't load boot file!!rnrn其余信息:rntornado2.2+vxworks5.5rn16G的SSD,primary master,中断号0x0e.rn
Server Error in '/' Application.--------------------新人求助
我将一个网站(B站)放在另外一个网站(A战)的目录下,想利用A站的外网地址直接访问B站的文件,发生了这样的错误,求解???新人,求帮助。谢谢额!rnrnrnServer Error in '/' Application.rn--------------------------------------------------------------------------------rnrnrnConfiguration Error rn Description: An <em>error</em> occurred during the processing of a configuration file required to service this request. Please review the specific <em>error</em> details below and modify your configuration file appropriately. rnrn Parser Error Message: Could not load file or assembly 'ExtAspNet' or one of its dependencies. 系统找不到指定的文件。rnrnSource Error: rnrnrnrnLine 20: rnLine 21: rnLine 22: rnLine 23: rnLine 24: rn rnrn Source File: E:\ChangZhou_Hyundai\webui\web.config Line: 22 rnrnAssembly Load Trace: The following information can be helpful to determine why the assembly 'ExtAspNet' could not be loaded.rnrnrnrnWRN: Assembly binding logging is turned OFF.rnTo enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.rnNote: There is some performance penalty associated with assembly bind failure logging.rnTo turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].rnrn rnrnrn--------------------------------------------------------------------------------rnVersion Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
error"问题求助">"Stream read error"问题求助
以前好好的,现在程序重新编译后没有什么问题,但是运行时总rn是出现"Stream read <em>error</em>"错误。出错语句为:rntmbm->LoadFromFile(CurrentDir+"temp\\"+"temp.bmp");rn不知道为什么?
安装myeclipse一条龙下载
讲述了从安装jdk,tomcat,eclipse,到myeclipse及相关环境配置 相关下载链接:[url=//download.csdn.net/download/woniuyouli/2227050?utm_source=bbsseo]//download.csdn.net/download/woniuyouli/2227050?utm_source=bbsseo[/url]
无线电爱上制作7试读版下载
无线电推出的爱上制作7试读版。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。 相关下载链接:[url=//download.csdn.net/download/xysmkj/3217590?utm_source=bbsseo]//download.csdn.net/download/xysmkj/3217590?utm_source=bbsseo[/url]
C++修改内存下载
C++写的修改内存代码,修改内存API的应用之类 相关下载链接:[url=//download.csdn.net/download/hackershuijing/4089812?utm_source=bbsseo]//download.csdn.net/download/hackershuijing/4089812?utm_source=bbsseo[/url]
相关热词 c# gdi 占用内存 c#中遍历字典 c#控制台模拟dos c# 斜率 最小二乘法 c#进程延迟 c# mysql完整项目 c# grid 总行数 c# web浏览器插件 c# xml 生成xsd c# 操作sql视图
我们是很有底线的