similar to: CreateFile \\\\.\\x: non-root

Displaying 20 results from an estimated 400 matches similar to: "CreateFile \\\\.\\x: non-root"

2007 Sep 25
2
Using callbacks with ReadFileEx
Hi all, First, I just realized I''ll need to go back and fix some of the prototype declarations for windows-pr. The callback parameters will now need to be set to ''K''. ReadFileEx is one example of this. For purposes of my question, let''s assume ReadFileEx has been declared like so: API.new(''ReadFileEx'', ''LPLPK'',
2007 Oct 09
5
Playing with ReadFileScatter()
Hi all, Looking at the IO.readlines source in io.c, it looks to me like they grab 8k chunks, split on the input record separator, and buffer accordingly. Since it looks like ReadFileScatter() does some of that work automatically (in page file sized chunks), I thought I''d give it a try. Here''s what I''ve got, but it doesn''t work. I have an incorrect parameter
2017 Oct 09
2
Linux vs. Windows SMB buffering
> The Linux client is asking for SMB1 and using 1MB write sizes. > > The Windows client is using SMB2 and *NOT ASKING FOR LEASES*. > > This is why the performance is terrible. Because the file > as no lease, the Windows redirector must pass every single > WriteFile() system call onto the wire, no matter how small > the size. > > If you can get the Windows SMB2 client
2004 Nov 06
3
Calling CreateFile on an instance of File - possible?
Hi all, I''m going over win32-file this weekend. I''m creating instance methods for setting (or unsetting) the various file attributes. So, you can 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
2008 Sep 16
1
sync always, strict sync, cache question
Hello, I've been using samba to share folders for a number of years now. thankyou very much to the samba team. Now I'm posed with some questions. I have a couple of servers hosting desktops for thinclient users. Until now I have been mounting /home with NFS on these servers. Recently we have upgraded the whole system and have run into write performance issues with the NFS server. time
2006 Mar 27
1
Running SQL over SAMBA?
Hi All, Does anyone run SQL and/or exchange on SAMBA server share? Are there any special considerations to take? would you be kind enough to share your experience doing it? Any special smb.conf configuration is required? is there any performance issue or functional limitations supporting it? I am just wondering since Microsoft encourages block level access over share/file level access.
2011 Sep 06
2
Possible to access a USB volume by name in windows
On the Mac it's pretty easy to get to a USB drive by name. For example the following command works if you have a USB drive named "MYUSB" setwd('/Volumes/MYUSB') Is there a way to do the same thing in Windows (without knowing the drive letter)? Thanks! [[alternative HTML version deleted]]
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
2012 May 17
1
USB passthrough of all USB-slots to guest
Hi, how can I define passthrough of all USB-slots to a guest with libvirt? With qemu it's very easy: # kvm -usb -usbdevice host:0.* -usbdevice host:1.* -usbdevice host:2.* -usbdevice host:3.* ... This configuration of the VM gets *all* 4 USB-Slots. Every time somewhat USB-device is plugged in the VM gets it. virt-install manpage offers: --host-device 001.003 USB by bus, device
2004 Nov 17
1
nread and nwrite optimizations
Hi all, So far, so good. Things seem to work just fine and, in the case of nread, I am getting incredible performance. I can''t tell if this is due to some kind of caching, however. Anyway, there a couple of things I want to work out yet. The first is File#nread and Really Big Files. I created a 500 mb text file and sucked it into memory using Ruby''s File#read method just
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 around the code that uses CreateFile_utf8(): 1) #ifdef
2008 May 06
4
DeviceIoControl + IOCTL_DISK_GET_DRIVE_GEOMETRY problem
Hi all, Ok, what am I doing wrong here? require ''windows/device_io'' require ''windows/handle'' require ''windows/error'' include Windows::DeviceIO include Windows::Handle include Windows::Error fh = File.open(''test.txt'') # Assume you have this handle = get_osfhandle(fh.fileno) if handle == INVALID_HANDLE_VALUE puts
2017 Oct 09
0
Linux vs. Windows SMB buffering
On Mon, Oct 09, 2017 at 08:29:43PM +0000, Will Lucas wrote: > > The Linux client is asking for SMB1 and using 1MB write sizes. > >  > > The Windows client is using SMB2 and *NOT ASKING FOR LEASES*. > >  > > This is why the performance is terrible. Because the file > > as no lease, the Windows redirector must pass every single > > WriteFile() system call
2001 Dec 06
2
Problem report: SHRINKER.ERR, fix to DEVICE_Open/CreateFileA?
This was an error I got when running a self-installing executable, power-structure-demo.exe, available from www.write-brain.com (a demo for Power Structure). A error box appears with title SHRINKER.ERR and message: (path)\power-structure-demo.exe (3.4) (time&date) - Pager initialisation error 2 - File not found and then the program quits. Running with --debugmsg
2004 Nov 07
2
Problems with DeviceIoControl()
Hi all, Thanks to Wayne and Park, I''ve got something like this now: static VALUE file_set_compressed(VALUE self, VALUE rbBool){ HANDLE h; BOOL rv; DWORD dwBytesReturned; int fn; USHORT inBuf = COMPRESSION_FORMAT_DEFAULT; if((rbBool != Qtrue) && (rbBool != Qfalse)){ rb_raise(rb_eTypeError,"Argument must be true or false"); }
2008 May 30
4
Setting Group owner of files on USB drive
I just got a 8Gb flash drive and went to copy a bunch of files onto it. I wanted to perserve everything, so I just took my archiving rsync command and altered it to go to localhost:/media/RALLY2/ (name of flash drive). I am getting errors with changing the group owner. Huh? So I try to just use mkdir to create a directory on the flash drive. The directory has a group of root ??? So I try
2006 May 26
13
win32-dir, unicode
Hi, I''ve got a preliminary version of the pure Ruby version of win32-dir in CVS. However, I was hoping to work out the Unicode issue. Run this: from = "C:\\test" to = "?????" Dir.mkdir(from) unless File.exists?(from) Dir.create_junction(to, from) It works, but my explorer (and dos) window shows the name garbled. I don''t think it''s a font
2007 May 25
2
About Parallel Port Driver
Hi all, I have a .sys driver for parallel port communication. But it seems wine didn't support loading the driver. My windows program has to be configured as XP version. And directly accessing to parallel port is not allowed on the XP host, therefore _outp and _inp are useless. Is there any solution to this problem? Best Regards, Milo Xu -------------- next part -------------- An HTML
2001 Apr 10
5
[Newbie] How to get IE5.0 run
I try to get IE 5.0 run under wine. All I understood is that I have to use a native installed IE, which I copied FROM Win98SE under VMWare to my $HOME/c/Program\ Files/ Directory. It didn't work, so I copied the native windows/system directory, too. This didn't work, even when I'm starting with this switches: wine -dll shell,shell32,commctrl,comctl32=n IEXPLORE.EXE I get this error
2012 May 27
5
Help Brugs
Hola; estoy intentando utilizar el paquete BRugs y cuando entra el comando: library(BRugs) me da el siguiente error: Error: .onLoad failed in loadNamespace () for ''Brugs'' Alguien puede ayudarme? Saludos - Jose Ramón Alameda Bailén Área de Psicología Básica Universidad de Huelva [[alternative HTML version deleted]]