Displaying 20 results from an estimated 3000 matches similar to: "win32-file-stat bug"
2007 Nov 24
5
Service.start arguments failing or causing segfault
Hi,
Unless I''m mistaken the final arguments to Service.start should be
passed to the Daemon''s service_main method. Correct?
I modified the Service.start method (now in CVS) to look something like
this:
def self.start(service, host=nil, *args)
...
num_args = args.length
if args.empty?
args = nil
else
args.unshift(service) # Necessary?
2008 Jan 12
2
win32-taskscheduler and TaskScheduler#account_information
Hi,
This library has needed some work for a while, so I''m finally getting
around to it. I''ve made some changes and updates in CVS, so grab the
latest source to test the issue below.
The first issue I''d like to tackle is why the
TaskScheduler#account_information (GetAccountInformation) method fails
if there''s no user associated with a given task.
The docs
2009 Sep 26
1
html clipboard format
Hi,
2009/9/26 Paul Rogers <paul.rogers at shaw.ca>:
> Hi,
>
> Ive been using the clipboard library with some good success, but really need
> to have the html formatted text. Is this possible? Do I just need to create
> the type plugin?
> Give me a pointer and I can probably write the code next week
>
The CVS version of win32-clipboard supports the HTML formatted text.
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
2007 May 04
5
[ win32utils-Bugs-10589 ] Bug in win32-mmap
Bugs item #10589, was opened at 2007-05-04 12:01
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=10589&group_id=85
Category: win32-mmap
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Daniel Berger (djberg96)
Assigned to: Daniel Berger (djberg96)
Summary: Bug in win32-mmap
Initial Comment:
Ruby 1.8.6
win32-mmap 0.2.1
Assigning
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
2007 Sep 10
1
[ win32utils-Bugs-13825 ] /win32-file-stat-1.2.5/lib/win32/file/stat.rb:81:in `at'': bignum too big to convert into `long'' (RangeError)
Bugs item #13825, was opened at 2007-09-10 16:04
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=13825&group_id=85
Category: win32-file-stat
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: /win32-file-stat-1.2.5/lib/win32/file/stat.rb:81:in `at'': bignum too big to
2007 Aug 08
12
Some more win32-changenotify analysis
Hi all,
I decided to check the responsiveness of the pure Ruby vs C extension
versions of win32-changenotify. I setup this little file generator program:
a = []
10.times{ |n|
a << Thread.new{
File.open("File_#{n}", ''w''){ |fh| fh.puts "test #{n}" }
}
}
a.each{ |t| t.join }
The pure Ruby version did not do so well. In some cases it
2012 May 18
7
Dir.create_junction with FFI
Hi,
Try as I might, I just cannot get Dir.create_junction to work with FFI
in the ffi branch of the win32-dir project. The problem is the
REPARSE_JDATA_BUFFER struct. I''m just not sure how to set those
members, specifically, the PathBuffer member. The target looks good,
it''s UTF-16LE encoded, but I can''t make it work, despite trying
several ways of defining the struct,
2006 Mar 26
5
[ win32utils-Bugs-3924 ] Segmentation fault under Windows
Bugs item #3924, was opened at 26/03/2006 22:12
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=3924&group_id=85
Category: win32-taskscheduler
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: David FAROI (dfaroi)
Assigned to: Nobody (None)
Summary: Segmentation fault under Windows
Initial Comment:
I''m trying to make
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 Dec 27
3
[ win32utils-Bugs-16648 ] Cannot find the file specified with Service.services
Bugs item #16648, was opened at 2007-12-27 13:58
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=16648&group_id=85
Category: win32-service
Group: Code
Status: Open
Resolution: None
Priority: 4
Submitted By: Daniel Berger (djberg96)
Assigned to: Park Heesob (phasis68)
Summary: Cannot find the file specified with Service.services
Initial Comment:
2007 Sep 30
6
Giving folks access to Win2k
Hi all,
As fate would have it I''m giving away my old desktop to a friend who has
no computer. The upside is that means I have room to setup my old-old
desktop, which happens to have Windows 2000 on it.
It''s a dual Pentium-II 400 with 512mb of RAM. I installed the Ruby 1.8.6
one-click on it, and it already had VC++ 6 on it. Fairly zippy, actually.
What I would like to do is
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
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
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
2006 Jun 21
4
Yet another data structure + pack/unpack question (win32-service)
Hi all,
If you take a look at the service.rb file in the win32-service
repository (the new one in the toplevel repository path), I''ve got this
bit of code, which succeeds, but I can''t seem to unpack the data
structure properly. Did I pack it wrong to begin with? I should know
this but I''m spacing out.
proc_status =
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
2007 Sep 23
16
WinRuby?
Hi all,
With the latest 1.8.6 release out today, I was wondering - what would
you all think of a Windows-only fork of Ruby? I mean Perl has
ActiveState, right? It ships with a slightly different interpreter and
different libraries, so why not Ruby?
Here''s what I''m thinking:
* Win2k or later. No 95/98/ME support. No cygwin/mingw, either.
* Assume VC++ 8. Use whatever
2006 Feb 08
2
[ win32utils-Feature Requests-3502 ] Allow win32-open3 to take a block
Feature Requests item #3502, was opened at 2006-02-08 10:29
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=414&aid=3502&group_id=85
Category: win32-open3
Group: Code
Status: Open
Resolution: None
Priority: 4
Submitted By: Daniel Berger (djberg96)
Assigned to: Park Heesob (phasis68)
Summary: Allow win32-open3 to take a block
Initial Comment:
I think we