similar to: network drives

Displaying 20 results from an estimated 7000 matches similar to: "network drives"

2005 Feb 07
7
win32-driveinfo in CVS
Hi all, I committed win32-driveinfo 0.1.0 to CVS. What is it? =========== A class for getting information of drives Synopsis ======== include Win32::DriveInfo (sectorsPerCluster, bytesPerSector, numberOfFreeClusters, totalNumberOfClusters, freeBytesAvailableToCaller, totalNumberOfBytes, totalNumberOfFreeBytes) = getDriveSpace(''c'').to_a
2007 Sep 03
1
Snow on Windows Cluster
Hello, the package snow is not working on a windows cluster with MPICH2 and Rmpi. There is an error in makeCluster: launch failed: CreateProcess(/usr/bin/env "RPROG="C:\Programme\R\R-2.5.1\bin\R" "OUT=/dev/null" "R_LIBS=" C:/Programme/R/R-2.5.1/library/snow/RMPInode.sh) on 'cl1' failed, error 3 - Das System kann den angegbenen Pfad nicht finden. I
2005 Feb 14
8
DONT_RESOLVE_DLL_REFERENCES info
For future reference, it looks like we should avoid DONT_RESOLVE_DLL_REFERENCES in any extensions. http://weblogs.asp.net/oldnewthing/archive/2005/02/14/372266.aspx Regards, Dan
2006 May 17
3
Need a little help with the pureRubywin32-eventlog
> -----Original Message----- > From: win32utils-devel-bounces at rubyforge.org > [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of > Berger, Daniel > Sent: Wednesday, May 17, 2006 12:07 PM > To: Development and ideas for win32utils projects > Subject: Re: [Win32utils-devel] Need a little help with the > pureRubywin32-eventlog > > > >
2006 Feb 02
5
Fwd: win32-clipboard and Unicode zero bytes
Hi all, I''m forwarding this message from Brian Marick. If you run this test script and then paste the results into a Unicode aware text editor, you''ll notice that it only prints one character instead of three. I tried changing the strlen to _tcslen and strcpy to _tcscpy, but that didn''t help. I mucked around a bit with the MultiByteToWideChar function, too, but
2007 Oct 01
2
[ win32utils-Bugs-14360 ] Bad interaction between win32-file-stat and FileUtils
Bugs item #14360, was opened at 2007-10-01 15:00 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=14360&group_id=85 Category: win32-file-stat Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Daniel Berger (djberg96) Assigned to: Nobody (None) Summary: Bad interaction between win32-file-stat and FileUtils Initial Comment: Ruby
2006 Jan 05
7
[Fwd: [win32utils-help][6822] Eventlog problem]
Dang, I thought we solved this. Any ideas? Dan PS - I realized after reading this I forgot to bump the version number for 0.3.3 - I''ve uploaded a new zip file with the correct version number. -------------- next part -------------- An embedded message was scrubbed... From: alain Fioretti <noreply at rubyforge.org> Subject: [win32utils-help][6822] Eventlog problem Date: Thu, 5
2007 Dec 05
21
Fwd: win32/process problem
Any ideas? ---------- Forwarded message ---------- From: Christian Kerth <christian.ke... at dynamicmedia.at> Date: Dec 5, 8:28 am Subject: win32/process problem To: comp.lang.ruby I have an application that consists of serveral independent parts. I want to use the Windows Process API to spawn the different processes. e.g. require ''rubygems'' require
2005 Feb 04
7
FW: Bug fix
Forwarded, because I don''t think he''s subscribed and I''m not getting an email notification in my Yahoo account. Dan -----Original Message----- From: CT [mailto:demerzel@gmail.com] Sent: Friday, February 04, 2005 4:17 PM To: Berger, Daniel Cc: win32utils-devel@rubyforge.org Subject: Re: Bug fix On Fri, 4 Feb 2005 16:53:17 -0600, Berger, Daniel
2008 Jul 08
12
Some more win32-security: SID.create
Hi all, How does this look as a general approach to a SID.create method: # Creates and initializes def self.create(authority, *sub_authorities) if sub_authorities.length > 8 raise ArgumentError, ''maximum of 8 subauthorities allowed'' end authorities = Array.new(8, 0) authorities.replace(sub_authorities) count = authorities.select{ |e| e > 0 }.size
2008 Apr 30
8
Playing with NtQueryInformationFile
Hi all, I''m trying to get the allocation size of a file via a file handle (rather than its name). The example below works for FileNameInformation but I can''t get it to work as expected for FileStandardInformation. Here''s some sample code: # query_test.rb require ''windows/handle'' require ''windows/error'' include Windows::Handle
2006 Oct 06
13
Need some help with latest win32-mmap
Hi all, I''ve got the latest win32-mmap code checked into CVS. Unfortunately, it seems that I''m not able to open an existing mapping and retrieve set data. Below is a simple example that seems like it ought to work but doesn''t. Any ideas? # map1.rb require ''win32/mmap'' include Win32 mmap = MMap.new(:name => ''alpha'', :size
2008 Jun 10
7
Unraveling a FAR*
Hi all, Just looking over fole_s_connect() in win32ole.c and I noticed this bit: hr = CLSIDFromProgID(pBuf, &clsid); ... hr = GetActiveObject(&clsid, 0, &pUnknown); ... hr = pUnknown->lpVtbl->QueryInterface( pUnknown, &IID_IDispatch, (void **)&pDispatch ); Using win32-api, that would be something like: IID_IUnknown =
2008 Jan 23
6
JRuby and callbacks?
Hi all, Any Java/JRuby folks on the list? I''d like to see if we can implement api.c for JRuby using JNA and see how it handles the callbacks. I''m not a Java guy, nor do I know JNA, but I''ll take a stab at it if no one else on the list does. Here are a couple of useful links: http://www.infoq.com/news/2007/09/jna-jruby https://jna.dev.java.net/ Regards, Dan This
2007 Aug 04
10
Need some help with pure Ruby win32-changenotify
Hi all, I know it''s deprecated, but people seem to still be using win32-changenotify, so I thought I''d see if I could make it pure Ruby. Also, I thought it would be a good opportunity to test passing a custom Win32::Event object. I''m mostly done I think, but I''m having trouble unraveling the FILE_NOTIFY_INFORMATION struct buffer. Please check out the
2005 Apr 21
9
Screen capture, save to file
Is there anything in the utils to capture a screen ( or maybe just a window) and save to a file. I have this, but I have no idea where it came from, but it gives a corrupted image Paul # -*- ruby -*- # screen capture -- # This script runs with a Ruby/DL which is included in ruby-1.7. require ''dl/import'' module ScreenCapture extend DL::Importable dlload
2008 May 20
10
Asynchronous Pipe::Server problems
Hi all, I''ve been working on the win32-pipe library (again) and I''ve reworked the interface. Instead of Pipe.new_server or Pipe.new_client, there''s now a base Pipe class, with Pipe::Server and Pipe::Client subclasses. You can find the latest code in the CVS repo. Oh, and you''ll need to update your windows-pr library with the latest from CVS if you want to
2005 Aug 11
4
win32-process + ruby-breakpoint = strangebehavior
> -----Original Message----- > From: win32utils-devel-bounces@rubyforge.org > [mailto:win32utils-devel-bounces@rubyforge.org] On Behalf Of > Bill Atkins > Sent: Thursday, August 11, 2005 8:39 AM > To: win32utils-devel@rubyforge.org > Subject: [Win32utils-devel] win32-process + ruby-breakpoint = > strangebehavior > > > I''m getting really strange
2008 Jan 18
5
Temporarily setting the output language for cmd.exe
Hi all, One of the net-ping users reported that the Net::Ping::External library was returning false positives on Vista. Basically, it does a ''ping -n1 host'' and checks for certain error strings. The problem is that the error strings it checks for are in English. The user in question is using a cmd.exe that''s entirely in Swedish (I think). Is there any way I can
2008 May 11
4
Latest rb_win32_select patch
Hi Park, I tried your latest patch and ran the sample code: readPipe, writePipe = IO.pipe t = Thread.new{ sleep 5 while true sleep 0.1 puts "got #{readPipe.readline.length} bytes" end } i = 1 while true i += 1 sleep 1 puts "hello from main" if i > 3 writePipe.puts "a"*2048 end end t.join At the console I typed the