Displaying 20 results from an estimated 118 matches for "createfile".
Did you mean:
createfilew
2009 Jun 05
3
R: Re: R: Re: PXEbooting very slow
...[05/06 18:24:46.139]
Connection received from
192.168.1.20 on port 57089 [05/06 18:24:46.289]
Read request for file
<pxelinux.cfg/80c41a0a-a256-dd11-ae6e-001e68a69ea9>. Mode octet [05/06
18:24:46.289]
File <pxelinux.cfg\80c41a0a-a256-dd11-ae6e-001e68a69ea9>
: error 2 in system call CreateFile Impossibile trovare il file
specificato. [05/06 18:24:46.289]
Connection received from 192.168.1.20
on port 57090 [05/06 18:24:46.289]
Read request for file <pxelinux.
cfg/01-00-1e-68-a6-9e-a9>. Mode octet [05/06 18:24:46.299]
File
<pxelinux.cfg\01-00-1e-68-a6-9e-a9> : error 2 in sys...
2010 Mar 25
4
CreateFile \\\\.\\x: non-root
Hello,
I have a usb data aquisition device interfaced by mass storage protocol. I open it like:
hEcgDrive=CreateFile("\\\\.\\g:",
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_NO_BUFFERING |
FILE_FLAG_WRITE_THROUGH | FILE_FLAG_OVERLAPPED,
NULL);
for communication I use
DeviceIoControl(hEcgDrive,
IOCTL_SCSI_PASS_THROUGH_...
2004 Nov 06
3
Calling CreateFile on an instance of File - possible?
...n do
something like:
f = File.open("foo.txt")
f.archive = true
f.hidden = true
f.close
This works for the basic attributes, but it requires extra work for others.
Specifically, I am having trouble trying to set the ''compress'' attribute.
To do this requires calling CreateFile() + DeviceIoControl().
The thing is, I don''t know how to get a valid HANDLE to a instance of an
already opened file. I''ve been trying something like this:
static VALUE file_set_compressed(VALUE self, VALUE rbBool){
DWORD dwAttr;
VALUE rbPath;
HANDLE h;
if((rbBool...
2007 Dec 10
0
windows oddity related to alternate data streams
...to what was causing the lag when I open my samba
(3.0.27a) shares from windows (XP, SP2).
strace showed that directories were being opened and closed a lot, in
sequence. Playing with Process Monitor suggests windows is trying to
create alternate data streams on for the directory entires: it does a
CreateFile with :{4c8cc155-6c1e-11d1-8e41-00c04fb9386d} appended to
the directory name.
Samba seems to fail those creates, and windows seems to react to this
rather poorly.
The sequence of events (process monitor log, edited for readability):
(Note that BUFFER OVERFLOW is not an error.
I'd remove the l...
2011 Mar 29
1
[LLVMdev] Accessing metadata & creating DIVariable
...);
>>> cu = di.createCU / * How do I get the MDNode of already in the
>>> IR . Instead of recreating it, using filename and directory I knew out
>>> of band */
>>
>> DIBuilder.createCompileUnit() does not return anything.
>>
>>> file= di.createFile
>>
>> You don't need CU here.
>>
>>>
>>> type= di.createBasicType //long
>>
>> same, you don't need CU here.
>
> If I don't have a di.createCompileUnit. di.createFile fails with this message.
>
> DIBuilder.cpp:59: llvm::DIFi...
2011 Mar 28
3
[LLVMdev] Accessing metadata & creating DIVariable
Hi,
I am wondering if someone can guide me in adding metadata to IR which
already contains some metadata. I am trying to add dbg.declare inst
for a local variable I added to a function. I used the DIBuilder to
build a DIVariable. When I try to compile llc fails with following
message.
llc: MCAsmStreamer.cpp:273: virtual
void<unnamed>::MCAsmStreamer::EmitLabel(llvm::MCSymbol*): Assertion
2003 Sep 24
0
CreateFile for EXE images vs other files
This question isn't directly Samba related, but Samba has helped me figure out part of the problem. When I CreateFile on an existing file like so:
CreateFile(FileName, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_DELETE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
Samba shows that I have the file opened with this type of lock
DENY_NONE 0x20089 RDONLY
When the file is locked in this manner, I am unabl...
2007 Dec 22
0
slow browsing problem
...some workaround, server-side or client-side?
Or is this caused by another issue?
Bits of Process Monitor log, for reference: (mildly edited for readability):
(Note that BUFFER OVERFLOW is not an error.
I'd remove the lines, but the functions called may be relevant)
12:20:26.8111613 AM CreateFile O:\technical SUCCESS
12:20:26.8129029 AM ReadFile O:\technical INVALID DEVICE REQUEST
12:20:26.8130925 AM QueryInformationVolume O:\technical BUFFER OVERFLOW
12:20:26.8132141 AM QueryAllInformationFile O:\technical BUFFER OVERFLOW
12:20:26.8156088
AM Create...
2009 Jun 19
2
Cisco 7941G & Auth
....default.loads
XMLDefault.cnf
SEPmac_address.cnf.xml
..and in tftp log I have:
Connection received from 192.168.1.61 on port 49153 [19/06 10:16:35.968]
Read request for file <CTLSEPmac_address.tlv>. Mode octet [19/06
10:16:35.968]
File <CTLSEPmac_address.tlv> : error 2 in system call CreateFile Impossibile
trovare il file specificato. [19/06 10:16:35.968]
Connection received from 192.168.1.61 on port 49154 [19/06 10:16:36.109]
Read request for file <SEPmac_address.cnf.xml>. Mode octet [19/06
10:16:36.109]
Using local port 3995 [19/06 10:16:36.109]
<SEPmac_address.cnf.xml>: s...
2004 Aug 06
2
Please 30 second to look a my code
...;
void *state;
short InBuffer[FRAME_SIZE];
char OutBuffer[200];
char waveheader[WAVEHEADER];
HANDLE WaveFile;
HANDLE SpeexFile;
DWORD NrOfBytesRead, NrOfBytesWritten;
char nrBytes = 0;
int nbBytes = 0;
int bit_rate, frame_size, test=0;
bool first=true;
WaveFile = CreateFile(_T("\\Temp\\tempsound.wav"), GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
SpeexFile = CreateFile(_T("\\Temp\\tempsound.spx"), GENERIC_WRITE, 0, NULL,CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
speex_bits_init(&bits); //init encoded bits buffer...
2018 Aug 18
1
[PATCH] move CreateFile() function from libFLAC
This patch renames flac_internal_CreateFile_utf8() function to
grabbag__CreateFile_utf8() and
moves it from /src/libFLAC/windows_unicode_filenames.c into
src/share/grabbag/file.c
This function is not used by libFLAC anyway.
After this, it should be possible to compile libFLAC as UWP.
In the old code there were 3 different #if conditionals...
2004 Nov 11
2
File.open on a directory?
Hi all,
Windows 2000
Ruby 1.8.2 RC9
Is it possible to call File.open on a directory in Windows? I always get
Errno::EACCES, even though there are no special settings on the directories
I''ve tried and I have full access.
Dan
2011 Mar 29
0
[LLVMdev] Accessing metadata & creating DIVariable
...eateCU / * How do I get the MDNode of already in the
>>>> IR . Instead of recreating it, using filename and directory I knew out
>>>> of band */
>>>
>>> DIBuilder.createCompileUnit() does not return anything.
>>>
>>>> file= di.createFile
>>>
>>> You don't need CU here.
>>>
>>>>
>>>> type= di.createBasicType //long
>>>
>>> same, you don't need CU here.
>>
>> If I don't have a di.createCompileUnit. di.createFile fails with this messag...
2011 Jun 02
1
Problem to execute a function loading by my package that I created
Hello,
I'm a beginner on R.
I should create a package on R. The name of my package is SGeMS.
In my package, I have a big program writed in C++. This program compiles in
C++. I put this program in SGeMS/src.
In my program, I added a header file and a source file named respectively
CreateFile.h and CreateFile.cpp.
CreateFile contains 5 functions : File, FileGeneral, FileData, FileVariogram
and FileDistribution.
I use the package Rcpp to compile this. So in CreateFile.h, I added
'RcppExport' in front of all the functions.
I compiled my package with R CMD INSTALL SGeMS. The compi...
2013 Apr 20
1
One tiny Windows Unicode patch
I have been doing some heavy testing with the new FLAC version, and I
found that CreateFile function in grabbag had been left out of UTF-8
treatment at some point. This causes re-encoding an existing flac to the
same name to break the file if it contains non-ascii characters.
Attached patch fixes this.
-------------- next part --------------
diff --git a/include/share/win_utf8_io.h b/...
2004 Aug 06
0
Please 30 second to look a my code
...er[200];
> char waveheader[WAVEHEADER];
>
> HANDLE WaveFile;
> HANDLE SpeexFile;
>
> DWORD NrOfBytesRead, NrOfBytesWritten;
>
> char nrBytes = 0;
> int nbBytes = 0;
> int bit_rate, frame_size, test=0;
> bool first=true;
>
> WaveFile = CreateFile(_T("\\Temp\\tempsound.wav"), GENERIC_READ, 0,
> NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
> SpeexFile = CreateFile(_T("\\Temp\\tempsound.spx"), GENERIC_WRITE, 0,
> NULL,CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
>
> speex_bits_init(&bits); //i...
2004 Nov 11
3
File.nopen alpha
Hi all,
I''ve committed an alpha version of File.nopen (native open) to
win32-file. This is a wrapper for CreateFile(). A quick synopsis:
* File.nopen(file,access_mode,share_mode,creation_mode,flags)
*
* A ''native'' open method. This uses CreateFile() behind the scenes
instead of
* the _open() function. This allows much greater flexibility when it
comes
* to Windows files. It also allo...
2018 Nov 11
3
A stage2 build causes changes to libllvm impacting program using it (exemple: rustc)
...m /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
#2 0x00007ffff1f65491 in llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef) () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
#3 0x00007ffff1ee69cd in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
#4 0x00007ffff1ee2d12 in llvm::DIBuilder::createFile(llvm::StringRef, llvm::StringRef, llvm::Optional<llvm::DIFile::ChecksumInfo<llvm::StringRef> >, llvm::Optional<llvm::StringRef>) () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
#5 0x00007ffff50a01f2 in LLVMRustDIBuilderCreateFile (Builder=0x5555555d4180, Filename=0x7ffffffeedd8...
2017 Dec 06
0
Does Samba 4.3.11 support for opening file with “APPEND” mode?
...I share the directory to windows with samba server running on Ubuntu
14.4 and the directory is mounted as disk z in Window 7. Do the echo
test in Git Bash, and all I get are "permission deny". But the ">>"
operation should not fail.
I try to access the file with Win32API CreateFile in append mode,
unfortunately I get code error 5(stands for "Access is Denied"). The
API CreateFile is called as CreateFile("append.txt", FILE_APPEND_DATA,
FILE_SHARED_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE |
FILE_FLAG_POSIX_SEMANTICS, NULL).
When I look into Samba source c...
2012 May 08
3
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
...>> };
>>
>> /// Factory method to create an OutputBuffer object which manages a
>> read/write
>> /// buffer of the specified size. When committed, the buffer will be
>> written
>> /// to the file at the specified path.
>> static error_code createFile(StringRef filePath, Flags flags, size_t
>> size,
>> OwningPtr<OutputBuffer> &result);
>>
>>
>> /// Returns a pointer to the start of the buffer.
>> uint8_t *bufferStart();
>>
>> /// Returns a pointer t...