zip4j1.3.1解压文件报错 cannot set file properties: file doesnot exists 10C

aix服务器:
zip4j1.3.1解压文件报错 cannot set file properties: file doesnot exists
该问题偶然会触发。

ZipFile zipFile=null;
try{
zipFile=new ZipFile(file.getAbsolutePath())
}catch(Exception e)
    throw new Exception("读取文件失败");
}
zipFile.setFileNameCharset("GBK");
if(zipFile.isEncrypted)){
zipFile.setPassword("aaa");
}
zipFile.extractAll("C:\\"

```);
文件校验中判断了文件是否存在,还是有偶发的报错 cannot set file properties: file doesnot exists
0

1个回答

有么有其他的线程来占用这个目录

0
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Determine if a File Exists
Determine if a File Exists
解压时报错,cannot open sharedobject file: No such file or directory
输入解压命令:# cd /usr/Nmonrn # unrar x linux-nmon.rarrn结果:unrar: error while loading shared libraries: libstdc++.so.6: cannot open sharedrn object file: No such file or directoryrn在网上搜了半天,都说的不太清楚,也不太一样,怎么解决呀?
File exists check
检查客户端的文件是否存在:我用的是VisualAgeForJava得WebSphere测试环境,rnfso = new ActiveXObject("Scripting.FileSystemObject");出错,不能创建对象rnrn[JScript]rnfunction ReportFileStatus(filespec)rnrn var fso;rn fso = new ActiveXObject("Scripting.FileSystemObject");rn if (fso.FileExists(filespec))rn return true;rn else rn return false;rnrnrn请问应该如何检查,谢谢大家了
TIdFTP.get 报错 'destination file already exists' 的问题
我在Indy网站上下了一个关于TIdFTP的demo,其中有这么一句:rnrnFTP.Get(FileName, SaveFile.FileName, true, true);rnrn总是报错'destination file already exists',明明目录下没有那个文件。如是我看看get实现的源码rnrn[code=Delphi(Pascal)]rnrnprocedure TIdFTP.Get(const ASourceFile: string; ADest: TIdStream; AResume: Boolean = False);rnbeginrn //for SSL FXP, we have to do it here because InternalGet is used by the LIST commandrn //where SSCN is ignored.rn ClearSSCN;rn AResume := AResume and CanResume;rn ADest.Position := 0;rn InternalGet('RETR ' + ASourceFile, ADest, AResume);rnend;rnrnprocedure TIdFTP.Get(const ASourceFile, ADestFile: string; const ACanOverwrite: boolean = False;rn AResume: Boolean = false);rnvarrn LDestStream: TIdStream;rnbeginrnrn AResume := AResume and CanResume;rn if ACanOverwrite and (not AResume) then beginrn Sys.DeleteFile(ADestFile);rn LDestStream := TFileCreateStream.Create(ADestFile);rn endrnrn else beginrn if (not ACanOverwrite) and AResume thenrn beginrn LDestStream := TAppendFileStream.Create(ADestFile);rn endrn elsern beginrn raise EIdFTPFileAlreadyExists.Create(RSDestinationFileAlreadyExists);rn end;rn end;rnrn tryrn Get(ASourceFile, LDestStream, AResume);rn finallyrn Sys.FreeAndNil(LDestStream);rn end;rnend;rnrn[/code]rnrn我看了raise EIdFTPFileAlreadyExists.Create(RSDestinationFileAlreadyExists);之前的代码发现get方法的后两个boolean参数不能相同啊,即不能同时为true或false,不能既覆盖又重传(可以接受),不能不覆盖不重传,但默认的两个参数的值是两个false,这是怎么搞的嘛?rnrn还想问一个问题:TIdFTP如何支持sftp呢?我看它有这个属性FUsingSFTP : Boolean;但是它是只读属性,没办法啊。
The source attachment doesnot contain the source for the file TrueTypeFont.class
[img=http://hi.csdn.net/attachment/201111/14/11378_1321276185Y5Q3.png][/img]rn如图,我在第11行设置了一个断点,点击“Debug as Java application”,程序可以停到断点处(第11行),再点击F6,希望跳第12行,但出现如下错误:[img=http://hi.csdn.net/attachment/201111/14/11378_1321276185UKFV.png][/img]rnrn最主要的是The source attachment does not contain the source for the file TrueTypeFont.class.这句提示,我在src/com/sun中的确没有找到TrueTypeFont.javarnrn点击Change Attached Source出现下图rnhttp://hi.csdn.net/attachment/201111/14/11378_13212761855I3v.pngrnrn这是源代码的文件夹,改了就全错了。rn[color=#FF0000]哪位朋友知道如何解决The source attachment does not contain the source for the file TrueTypeFont.class[/color],给我说下,万分感谢。
Properties file native2ascii conversion
今天在JetBrains新闻组上看到这篇文章,感到这篇文章预实现的功能非常好,就贴出啦。如果这个功能实现的话,加上IDEA下的PE插件,我几乎没话说啦。就一个properties的文件编辑,能考虑到这么多,确实值得关注。 :)rnrnHelo all,rnWe've implemented properties file support at the top of the new Language rnAPI.rn(File format described here: rnhttp://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html#load(java.io.InputStream)rn)rnrnAnd now we are considering new feature: transparent conversion from rnUnicode-escaped characters (\uxxxx) to native characters.rnE.g. if you are editing properties file containing escaped sequences for rnJapanese messages, it will show up as Japanese text in the IDEA editor, and rnwill be saved back as Unicode escaped characters.rnrnPlease express your opinions whetherrn- the feature is useful. (How your build process is arranged w.r.t rnproperties file storage/conversion ?)rn- we need option to switch the feature on/off. (And as I suspect we will rnneed this option, what is the best place for it ?)rn
Cannot open include file: 'icmpapi.h': No such file or directory
我编程(参考别人的)的时候, rn 需要这个文件,可是怎么也找不到rn fatal error C1083: Cannot open include file: 'icmpapi.h': No such file or directoryrn到哪里找这个文件
Cannot open include file: 'fstream.h': No such file or directory
请各位帮一下忙,谢谢。rn[code=C/C++]rn#ifndef PERSONALrn#define PERSONALrnrn#include rn#includernrnclass Personalrnrnpublic:rn Personal();rn Personal(char*,char*,char*,int,long);rn void writeToFile(fstream&) const;rn void readFromFile(fstream&);rn void readKey();rn int size() constrn rn return 9+nameLen+cityLen+sizeof(year)+sizeof(salary);rn rn bool operator==(const Personal& pr) const rn rn return strcmp(pr.SSN,SSN)==0;rn rnprotected:rn const int nameLen,cityLen;rn char SSN[10],*name,*city;rn int year;rn long salary;rn ostream& writeLegibly(ostream&);rn friend ostream& operator<<(ostream& out,Personal& pr)rn rn return pr.writeLegibly(out);rn rn istream& readFromConsole(istream&);rn friend istream& operator>>(istream& in,Personal& pr)rn rn return pr.readFromConsole(in);rn rn;rn#endifrn[/code]
Cannot open include file: 'uniqueid.h': No such file or directory
在EVC 中编译时出现以下错误rnrnCannot open include file: 'uniqueid.h': No such file or directoryrnHotelCEDlg.cpprnrn请问uniqueid.h的作用是什么,是系统文件吗??出现这种错误的原因是什么呢?
Cannot open include file: 'Bcam.h': No such file or directory
在编译程序时报错:rnCannot open include file: 'Bcam.h': No such file or directoryrn的确没有找到该文件,注释掉也会出错,发现没有Bcam.lib。请教各位大侠是怎么回事?应该怎么办?
Cannot open include file: 'ntddndis.h': No such file or directory
关于网络防火墙设计中遇到的问题,程序在link时候遇到了这个错误的提示:Cannot open include file: 'ntddndis.h': No such file or directory,该程序主要是基于C/C++在VC6.0上操作rn100分待大神解答rnrnrn
执行报错:cannot execute binary file
我们在hp unix上编译的一个程序,在redhat上运行,报错:cannot execute binary filern是怎么回事啊,怎么解决。
Cannot open include file: 'stdafx.h': No such file or directory
我敲进去了一个.cpp文件,编译连接时为什么出现这样的问题呢:Cannot open include file: 'stdafx.h': No such rnfile or directoryrn把‘stdafx.h’注释起来后又出现了新的错误:rndibapi.cpprne:\vc\dibapi.h(5) : error C2065: 'HDIB' : undeclared identifierrne:\vc\dibapi.h(5) : error C2501: 'DECLARE_HANDLE' : missing storage-class or type specifiersrne:\vc\dibapi.h(17) : warning C4005: 'RECTWIDTH' : macro redefinitionrn e:\vc\dibapi.h(15) : see previous definition of 'RECTWIDTH'rne:\vc\dibapi.h(22) : error C2146: syntax error : missing ';' before identifier 'WINAPI'rne:\vc\dibapi.h(22) : error C2501: 'BOOL' : missing storage-class or type specifiersrne:\vc\dibapi.h(22) : fatal error C1004: unexpected end of file foundrnError executing cl.exe.rnrndibapi.obj - 1 error(s), 0 warning(s)rn请高手指教,感激不尽!
libstdc++.so.5: cannot open shared object file: No such file or
今天在安装sjsas-9_1_01-mysql-linux.bin时提示这个共享库找不到,错误信息为:error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory在/usr/lib下面发现有 /usr/lib/libstdc++.so.6.0.3于是运行 ln -s /usr/lib/libstdc++.so.6.0.3 /usr/lib/libstdc++.so.5 创建一个符合连接,这个错误信息没有了。但是又出现错误信息:undefined symbol: _ZNSt24__default_alloc_templateILb1ELi0EE12_S_free_listE看来不行。还是删除了连接: rm /usr/lib/libstdc++.so.5然后下载:http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/compat-libstdc++-33-3.2.3-47.3.i386.rpm再安装rpm -ivh compat-libstdc++-33-3.2.3-47.3.i386
Cannot open include file: 'dibapi.h': No such file or directory
我的工程里有'dibapi.h'啊,怎么它还是说:Cannot open include file: 'dibapi.h': No such file or directoryrnrn
Cannot open include file: 'mstcpip.h': No such file or directory
代码如下:rn#include "stdio.h"rn#include rn#include rn#include rnrn#pragma comment(lib,"Ws2_32.lib")rnrn#include rnusing namespace std;rnrn//IP首部rntypedef struct tIPPackHeadrnrn enum PROTOCOL_TYPErn PROTOCOL_TCP = 6,rn PROTOCOL_UDP = 17,rn PROTOCOL_ICMP = 1,rn PROTOCOL_IGMP = 2 rn ;rn inline unsigned HeadLen() constrn rn //首部长度单位为4bytes。因此乘4rn return (ver_hlen & 0x0F) << 2;rn rn inline unsigned PackLen() constrn rn return wPacketLen;rn rn BYTE ver_hlen; //IP协议版本和IP首部长度。高4位为版本,低4位为首部的长度(单位为4bytes)rn BYTE byTOS; //服务类型rn WORD wPacketLen; //IP包总长度。包括首部,单位为byte。[Big endian]rn WORD wSequence; //序号,一般每个IP包的序号递增。[Big endian]rn WORD wMarkFragPoi; rn BYTE byTTL; //生存时间 rn BYTE byProtocolType; //协议类型,见PROTOCOL_TYPE定义rn WORD wHeadCheckSum; //IP首部校验和[Big endian]rn DWORD dwIPSrc; //源地址rn DWORD dwIPDes; //目的地址rn IP_PK_HEAD;rnrnrnint DecodeIP(char *buf, int len);rnrnint DecodeIP(char *buf, int len)rnrn int n = len;rnrn if( n >= sizeof(IP_PK_HEAD) )rn rn IP_PK_HEAD iphead;rn memcpy( &iphead, buf, sizeof(iphead) );rnrn //以下三个为Big Endian字节顺序,转换成主机字节顺序rn iphead.wPacketLen = ntohs( iphead.wPacketLen );rn iphead.wSequence = ntohs( iphead.wSequence );rn iphead.wHeadCheckSum = ntohs( iphead.wHeadCheckSum );rnrn in_addr src,dst;rn src.S_un.S_addr = iphead.dwIPSrc;rn dst.S_un.S_addr = iphead.dwIPDes;rnrn char strsrc[20],strdst[20];rn strcpy(strsrc, inet_ntoa(src));rn strcpy( strdst , inet_ntoa(dst));rnrn printf( "IP数据包: ver=%d,hlen=%d,protocol=%d,pklen=%d,seq=%d,src=%s,dst=%s _fcksavedurl=%s,dst=%s",rn iphead.ver_hlen >> 4,rn (iphead.ver_hlen & 0x0F) << 2,rn iphead.byProtocolType,rn iphead.wPacketLen,rn iphead.wSequence,rn strsrc,rn strdst );rn rnrn return 0;rnrnrnvoid AutoWSACleanup()rnrn ::WSACleanup();rnrnrnint main()rnrn //初始化winsock库,使用2.2版本rn u_short wVersionRequested = 0x0202;rn WSADATA wsaData;rn if( SOCKET_ERROR == WSAStartup( wVersionRequested, &wsaData ) )rn rn cout << WSAGetLastError();rn return 0;rn rn atexit( AutoWSACleanup );rnrn //创建SOCKETrn SOCKET h = socket( AF_INET, SOCK_RAW, IPPROTO_IP);rn if( h == INVALID_SOCKET )rn rn cout << WSAGetLastError();rn return 0;rn rnrn //获取本机地址rn char FAR name[128]; rn if( -1 == gethostname(name, sizeof(name)) )rn rn closesocket( h );rn cout << WSAGetLastError();rn return 0;rn rnrn struct hostent FAR * pHostent;rn pHostent = gethostbyname(name);rnrn //绑定本地地址到SOCKET句柄rn sockaddr_in addr;rn addr.sin_family = AF_INET;rn addr.sin_addr = *(in_addr*)pHostent->h_addr; //IPrn addr.sin_port = 0; //端口,IP层端口可随意填rn if( SOCKET_ERROR == bind( h,(sockaddr *)&addr,sizeof(addr) ) )rn rn closesocket( h );rn cout << WSAGetLastError();rn return 0;rn rnrn //设置该SOCKET为接收所有流经绑定的IP的网卡的所有数据,包括接收和发送的数据包rn //该函数在mstcpip.h里面,详见MSDN帮助rn u_long sioarg = 1;rn DWORD wt=0;rn if( SOCKET_ERROR == WSAIoctl( h, SIO_RCVALL , &sioarg,sizeof(sioarg),NULL,0,&wt,NULL,NULL ) )rn rn closesocket( h );rn cout << WSAGetLastError();rn return 0;rn rnrn //我们只需要接收数据,因此设置为阻塞IO,使用最简单的IO模型rn u_long bioarg = 0;rn if( SOCKET_ERROR == ioctlsocket( h, FIONBIO , &bioarg ) )rn rn closesocket( h );rn cout << WSAGetLastError();rn return 0;rn rnrn //开始接收数据rn //因为前面已经设置为阻塞IO,recv在接收到数据前不会返回。rn //当返回<=0时表示接收失败,退出循环rn //可以在另一个线程执行此循环,主线程closesocket可以使recv失败而结束循环rn char buf[102400];rn int len = 0;rn dorn rn len = recv( h, buf, sizeof(buf),0);rn if( len > 0 )rn rn DecodeIP( buf, len );rn rn while( len > 0 );rnrn closesocket( h );rnrn return 0;rnrn请大侠帮忙,说找不到这个include rn是不是,我缺少什么,需要下载安装什么?谢谢!rn
Cannot open include file: 'tapex.h': No such file or directory
请问各位,我在CRichEditCtrl里面添加一个表格时,使用的是codeproject的方法,可是出现问题!rn这该怎么解决?
Cannot open include file: 'ColorListCtrl.h': No such file or directory????
从网上下了个ColorListCtrl类导入工程项目中,但在其他类中引用这个类的时候老是出现.rnfatal error C1083: Cannot open include file: 'ColorListCtrl.h': No such file or directoryrn我在用之前也用了#include 'ColorListCtrl.h',各位帮帮忙 在线等
Cannot open include file: 'time': No such file or directory
怎么回事儿,编译出现这样的错误
Cannot open include file : 'strsafe.h': No such file or directory
编译的时候出现错误,怎么解决? 哪位大虾指教一下:rn----------Configuration: iseldr - Win32 Debug----------rnCompiling...rniseldr.cpprnc:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\iseldr.cpp(15) : fatal error C1083: Cannot open include file : 'strsafe.h': No such file or directoryrn执行 cl.exe 时出错.rnrniseldr.obj - 1 error(s), 0 warning(s)rnrn源代码是从微软网站上找的,不知道为何编译出错。。。郁闷ing....rnrn/* You can build the following code sample by using the following command-line arguments after you select the correct build environment, such as XP Checked:rnrncl -nologo -DUNICODE -link setupapi.librnrnNOTE: represents the name of the source file.rn*/rnrn#include rn#include rn#include rn#include rn#include rn#include rn#include rn#include rnrn#define SIZECHARS(x) (sizeof((x))/sizeof(TCHAR))rn//rn// The following is the prototype for the newdev!InstallSelectedDriver API.rn//rntypedefrnBOOLrn(*PINSTALLSELECTEDDRIVER)(rn HWND hwndParent,rn HDEVINFO DeviceInfoSet,rn LPCWSTR Reserved,rn BOOL Backup,rn PDWORD pReboot rn );rnrnrnintrn__cdeclrnwmain(rn IN int argc,rn IN WCHAR *argv[]rn )rnrn DWORD Err = NO_ERROR;rn HDEVINFO DeviceInfoSet = INVALID_HANDLE_VALUE;rn SP_DEVINFO_DATA DeviceInfoData;rn SP_DRVINFO_DATA DriverInfoData;rn SP_DEVINSTALL_PARAMS DeviceInstallParams;rn TCHAR NewDevPath[MAX_PATH];rn HMODULE hNewDev = NULL;rn PINSTALLSELECTEDDRIVER pInstallSelectedDriver = NULL;rn DWORD Reboot;rnrn //rn // The command line will contain a device instance Id and a fullrn // path of an INF.rn //rn if (argc < 3) rn printf("Usage: iseldr \"device instance id\" \"full path to the INF file\"\n");rn return ERROR_INVALID_PARAMETER;rn rnrn printf("%ws\n", argv[1]);rn printf("%ws\n", argv[2]);rnrn //rn // Create an empty device information list.rn //rn DeviceInfoSet = SetupDiCreateDeviceInfoList(NULL, NULL);rn if (DeviceInfoSet == INVALID_HANDLE_VALUE) rn Err = GetLastError();rn goto clean0;rn rnrn //rn // Add the device that is referenced by the device instance id parameterrn // to the device information list.rn //rn DeviceInfoData.cbSize = sizeof(DeviceInfoData);rn if (!SetupDiOpenDeviceInfo(DeviceInfoSet,rn (PCWSTR)argv[1],rn NULL,rn 0,rn &DeviceInfoData)) rn Err = GetLastError();rn goto clean0;rn rnrn //rn // InstallSelectedDriver works on the selected device and on thern // selected driver on that device. Therefore, set this device as thern // selected one in the device information list.rn //rn if (!SetupDiSetSelectedDevice(DeviceInfoSet,rn &DeviceInfoData)) rn Err = GetLastError();rn goto clean0;rn rnrn //rn // You now have a SP_DEVINFO_DATA structurern // representing your device. Next, get a SP_DRVINFO_DATArn // structure to install on that device.rn //rn DeviceInstallParams.cbSize = sizeof(DeviceInstallParams);rn if (!SetupDiGetDeviceInstallParams(DeviceInfoSet,rn &DeviceInfoData,rn &DeviceInstallParams)) rn Err = GetLastError();rn goto clean0;rn rnrn //rn // Only build the driver list out of the passed-in INF. rn // To do this, set the DI_ENUMSINGLEINF flag, and copy thern // full path of the INF into the DriverPath field of the rn // DeviceInstallParams structure.rn //rn DeviceInstallParams.Flags |= DI_ENUMSINGLEINF;rn if (FAILED(StringCchCopy(DeviceInstallParams.DriverPath,rn SIZECHARS(DeviceInstallParams.DriverPath),rn argv[2]))) rn //rn // The file path that was passed in was too big.rn //rn Err = ERROR_INVALID_PARAMETER;rn goto clean0;rn rnrn //rn // Set the DI_FLAGSEX_ALLOWEXCLUDEDDRVS flag so that you can usern // this INF even if it is marked as ExcludeFromSelect.rn // ExcludeFromSelect means do not show the INF in the legacy Add rn // Hardware Wizard.rn //rn DeviceInstallParams.FlagsEx |= DI_FLAGSEX_ALLOWEXCLUDEDDRVS;rnrn if (!SetupDiSetDeviceInstallParams(DeviceInfoSet,rn &DeviceInfoData,rn &DeviceInstallParams)) rn Err = GetLastError();rn goto clean0;rn rnrn //rn // Build up a Driver Information List from the specified INF.rn // Build a compatible driver list, meaning only include thern // driver nodes that match one of the hardware or compatible Ids of rn // the device.rn //rn if (!SetupDiBuildDriverInfoList(DeviceInfoSet,rn &DeviceInfoData,rn SPDIT_COMPATDRIVER)) rn Err = GetLastError();rn goto clean0;rn rnrn //rn // Pick the best driver in the list of drivers that was built.rn //rn if (!SetupDiCallClassInstaller(DIF_SELECTBESTCOMPATDRV,rn DeviceInfoSet,rn &DeviceInfoData)) rn Err = GetLastError();rn goto clean0;rn rnrn //rn // Get the selected driver node.rn // Note: If this list does not contain any drivers, this callrn // will fail with ERROR_NO_DRIVER_SELECTED.rn //rn DriverInfoData.cbSize = sizeof(DriverInfoData);rn if (!SetupDiGetSelectedDriver(DeviceInfoSet,rn &DeviceInfoData,rn &DriverInfoData)) rn Err = GetLastError();rn goto clean0;rn rnrn //rn // At this point, you have a valid SP_DEVINFO_DATA structure and arn // valid SP_DRVINFO_DATA structure.rn // Load newdev.dll, GetProcAddress(InstallSelectedDriver), and call rn // that API.rn //rn // To be more secure, make sure to load the newdev.dll file from thern // system 32 directory.rn //rn if (GetSystemDirectory(NewDevPath, SIZECHARS(NewDevPath)) == 0) rn Err = GetLastError();rn goto clean0;rn rnrn if (FAILED(StringCchCat(NewDevPath, SIZECHARS(NewDevPath), TEXT("\\NEWDEV.DLL")))) rn Err = ERROR_INSUFFICIENT_BUFFER;rn goto clean0;rn rnrn hNewDev = LoadLibrary(NewDevPath);rn if (!hNewDev) rn Err = GetLastError();rn goto clean0;rn rnrn pInstallSelectedDriver = (PINSTALLSELECTEDDRIVER)GetProcAddress(hNewDev, "InstallSelectedDriver");rn if (!pInstallSelectedDriver) rn Err = GetLastError();rn goto clean0;rn rnrn //rn // Call pInstallSelectedDriver to install the selected driver onrn // the selected device.rn //rn pInstallSelectedDriver(NULL,rn DeviceInfoSet,rn NULL,rn TRUE,rn &Reboot);rnrn if (Reboot & (DI_NEEDREBOOT | DI_NEEDRESTART)) rn //rn // A reboot is required.rn //rn rnrnclean0:rn if (hNewDev) rn FreeLibrary(hNewDev);rn hNewDev = NULL;rn rnrn if (DeviceInfoSet != INVALID_HANDLE_VALUE) rn SetupDiDestroyDeviceInfoList(DeviceInfoSet);rn DeviceInfoSet = INVALID_HANDLE_VALUE;rn rnrn printf("iseldrv returned 0x%X\n", Err);rn return Err;rnrn
Cannot open source file: 'WIN32': No such file or directory
在VS2005中编译工程 提示:fatal error C1083: Cannot open source file: 'WIN32': No such file or directory 。rn请问该怎么解决,注:此工程中没有.c的文件。
Cannot open include file: 'iostream': No such file or directory
今天编译一书上的例子,结果出现了这个问题。rnfatal error C1083: Cannot open include file: 'iostream': No such file or directoryrn有人说路径不对,我也看了路径是这样的rn[img=http://img.my.csdn.net/uploads/201211/08/1352368403_3935.jpg][/img][img=http://img.my.csdn.net/uploads/201211/08/1352368412_9847.jpg][/img]rn 真让人懊恼。求达人帮忙解决
黑马程序员_File和Properties概述
File概述 一、File概述 用来将文件或者文件夹封装成对象,方便对文件与文件夹的属性信息进行操作。File对象可以作为参数传递给流的构造函数。 创建方法: 1、将已有的和未出现的文件或文件夹封装成对象 File f 1= newFile(“c:\\a\\a.java”); File f2 = newFile(“c:\\a”); File f = newFile( “a.java”
properties file editor
NULL 博文链接:https://taink.iteye.com/blog/826949
连接器报错 cannot open file 'libci.lib'???
我的环境是 .NET2003/WIN2000 SERVE/DX9.0ASDK rn编译一个DX教程上的例子 报错rnDX Project 3 warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specificationrnrnDX Project 3 fatal error LNK1104: cannot open file 'libci.lib'rnrn我在硬盘上查不到libci.lib这个文件 把这个例子在别人的机器上就能编译通过 请问如何解决?
Cannot open include file: 'd3dwnd.h': No such file or directory
头文件rn[code=C/C++]#include "afxwin.h"rn#include "d3d9.h"rnrn#include "d3dx9math.h"rn#pragma comment(lib,"d3d9.lib")rnrnclass CD3DWnd: public CWndrnrnpublic:rn CD3DWnd();rnrnpublic:rn virtual ~CD3DWnd();rnprotected:rn LPDIRECT3D9 m_pD3D;//Direct3D对象的指针rn LPDIRECT3DDEVICE9 m_pDevice;//设备对象的接口指针rn void InitD3D();//这个函数用来初始化Direct3Drnrn;rnCPP文件rn[/code]rnrn[code=C/C++]#include "stdafx.h"rn#include "direct.h"rn#include "d3dwnd.h"rnrn#include "CD3DWnd.h"rnrnrnCD3DWnd::CD3DWnd()rnrnrnrnCD3DWnd::~CD3DWnd()rnrnrnrnvoid CD3DWnd::InitD3D()rnrn //创建D3D对象,并获取接口 IDirect3D9的指针rn //我们将通过指针操作该对象rn m_pD3D=::Direct3DCreate9(D3D_SDK_VERSION);rnrn D3DPRSENT_PARAMETERS d3dpp;rn ::ZeroMemory(&d3dpp,sizeof(d3dpp));rn d3dpp.Windowed=TRUE;//创建窗口模式的Direct3D程序rn d3dpp.SwapEffect=D3DSWAPEFFECT_DISCARD;rn d3dpp.BackBuffFormat=D3DFMT_UNKNOWN;rnrn //调用方法IDirect3D9::CreateDevice创建设备对象并获取rn //接口IDirect3DDevice9的指针,我们将通过该指针操作设备对象rn m_pD3D->CreateDevice(rn D3DADAPTER_DEFAULT,//使用缺省的显卡rn D3DDEVTYPE_HAL,//指定设备类型为HALrn m_hWnd, //窗口句柄rn D3DCREATE_SOFTWARE_VERTEXPROCESSING,//软件顶点处理rnrn &d3dpp,&m_pDevce);rnrn[/code]rn:\MY\direct\CD3DWnd.cpp(3) : fatal error C1083: Cannot open include file: 'd3dwnd.h': No such file or directoryrnGenerating Code...rnCompiling...rndirect.cpprnGenerating Code...rnCompiling...rnMainFrm.cpprnGenerating Code...rn执行 cl.exe 时出错.rnCreating browse info file...rnBSCMAKE: error BK1506 : cannot open file '.\Debug\CD3DWnd.sbr': No such file or directoryrn好象始终找不到d3dwnd.h这个文件,我也装了SDK了,设置,LINK都看了,都没问题rn是还要装什么插件么
Cannot open include file: 'stdafx.h': No such file or directory?
这是怎么回事?
Cannot open include file: 'sample.h': No such file or directory
出现这问题,按字面理解意思是当前目录下没有此文件。可的确存在,不知道是什么原因。请高手指点
Cannot open include file: 'graphics.h': No such file or directory
高手帮忙!
cannot open file "easyx6.lib"
cannot open file "easyx6.lib"这是什么问题哈。。。怎么解决,,求大神解决vc6.0的问题哈
cannot open file "jsk20_dlg.lib"
选项->目录里面该包含的都包含了 编译就报这个错误
cannot execute binary file
rn在linux8.0下,我写了一个输出字符程序(入门的那种)rn然后gcc -c world.c -o mywork //这样还没可以生成.o文件和执行文件么?rn ./myworkrn会出现cannot execute binary file.rn
"Cannot open the file"! Why?
void main()rnrn string infile;rn ifstream in(infile.c_str());rn if(!in)rn rn cout<<"Cannot open the file"<
The process cannot access the file
The process cannot access the file 'c:\....'rnbecause it is being used by another processrnrn请问该怎么解决
cannot excute binary file
文件[color=#FF0000]ww.sh[/color]内容如下rn#!/bin/shrna="hello world"rnecho $arnrn总是报出:bannot excute binary file,用#!/bin/bash却不,这是为什么?rn还有file ww.sh 命令执行后 报出:Vim encrypted file data是什么意思?rn请各位帮忙解答一下吧!
why file cannot open?
I put several line at the beginning of main() to open a file.rnopen() or access() can return successfully,rnwhile fopen() always return NULL;rnwhy?
cannot open file "libpcap.lib"..
link urlsnarf时出现的error..
cannot open file "vfw.lib"
在运用VC++和opencv进行MFC编程,编译连接时出现标题提示的错误,百思不得其解,这是什么原因?望大家不吝赐教!
"Cannot create output file".....
各位大哥哥,为什么我的Dlephi总是出现这样的提示并终止呢--------每当我编译或运行时。为什么呢??????rnrn---WinXP Home Editionrn---Delphi6.0 Enterprisern---but i'm not the "Administrator" status ....i'm a user accountrnrnrnhelp : (
Cannot open file 'csql.iem'
我用informix odbc 连接,连接字符窜是rnDRIVER=INTERSOLV 3.11 32 BIT INFORMIX 9;DSN=dsnname;SRVR=srvrname;SERV=****;HOST=***.***.**.**;PRO=olsoctcp;UID=user;DB=dbname;PWD=1234rn但执行是报错:Cannot open file 'csql.iem'rn请高手指教了,急啊!!!!!
相关热词 c# 线程顺序 c#昨天当前时间 c# 多进程 锁 c#mysql图片存取 c# ocx 委托事件 c# 读取类的属性和值 c# out 使用限制 c#获取url的id c#怎么进行分页查询 c# update 集合