Displaying 20 results from an estimated 30000 matches similar to: "windows-api command decision"
2007 Sep 28
3
[ win32utils-Bugs-14298 ] windows-api 0.2.0/windows-pr 0.7.1 causes segfault with require of win32/file
Bugs item #14298, was opened at 2007-09-28 10:23
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=14298&group_id=85
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Lars Olsson (lasso)
Assigned to: Nobody (None)
Summary: windows-api 0.2.0/windows-pr 0.7.1 causes segfault with require of win32/file
Initial Comment:
2007 Sep 25
2
Bug in win32-api with void prototypes?
Hi all,
It seems that a void prototype requires an explicit argument in our
version of win32/api:
C:\>irb
irb(main):001:0> require ''win32/api''
=> true
irb(main):002:0> include Win32
=> Object
irb(main):003:0> require ''Win32API''
=> true
# Our version
irb(main):004:0> GetLastErrorA = API.new(''GetLastError'',
2007 Jan 21
1
[ win32utils-Bugs-8039 ] Cannot send data that includes a binary 0
Bugs item #8039, was opened at 2007-01-21 01:51
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=8039&group_id=85
Category: win32-pipe
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: David Koontz (dkoontz)
Assigned to: Nobody (None)
Summary: Cannot send data that includes a binary 0
Initial Comment:
In pipe.c on lines 262 and
2007 Sep 28
1
Help with win32/api, windows-api
Hi all,
I must have been testing windows-pr with an old version of windows-api,
because now when I run ''rake test'' for windows-pr I get this:
C:\Documents and Settings\djberge\workspace\windows-pr>rake test
C:0:Warning: require_gem is obsolete. Use gem instead.
(in C:/Documents and Settings/djberge/workspace/windows-pr)
C:/ruby/lib/ruby/site_ruby/1.8/windows/api.rb:288:
2007 Feb 28
3
[ win32utils-Bugs-8942 ] several typo in windows-pr.
Bugs item #8942, was opened at 2007-02-28 23:59
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=8942&group_id=85
Category: windows-pr
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Katsuyuki MIYAMUKO (miyamuko)
Assigned to: Nobody (None)
Summary: several typo in windows-pr.
Initial Comment:
I found typo in windows-pr.
Attached
2006 Aug 21
1
[ win32utils-Bugs-5479 ] Incorrect SetLastError declarations
Bugs item #5479, was opened at 2006-08-21 07:43
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=5479&group_id=85
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Incorrect SetLastError declarations
Initial Comment:
windows-pr-0.5.3
lib\windows\error.rb
2007 Oct 25
2
Using strtok via win32/api
Hi all,
I''m having a little trouble with strtok:
require ''win32/api''
include Win32
strtok = API.new(''strtok'', ''PP, ''P'', ''msvcrt'')
string = "A string\tof ,,tokens\nand some more tokens";
seps = " ,\t\n";
puts "Tokens:"
token = strtok.call(string, seps)
while token
puts
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
2005 May 04
0
New win32-dir
Hi all,
In lieu of Timothy''s pure Ruby junction code, and Zach''s VC++ 6 issues,
I decided to just rewrite the dang thing in pure Ruby using Win32API.
That will solve''s Zach''s problem and make it easier to add Timothy''s
code, which I plan to add (slightly modified) to the 0.2.0 release.
The code is below. One thing I have a question about is how to
2007 May 04
0
[ win32utils-Feature Requests-1316 ] Support for Win32 Remote Access API
Feature Requests item #1316, was opened at 2005-01-10 10:07
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=414&aid=1316&group_id=85
Category: Interface Improvements (example)
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
>Assigned to: Nobody (None)
Summary: Support for Win32 Remote Access API
Initial Comment:
I am
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 =
2010 Nov 04
1
Fwd: win32/process - small bug?
It might be a bit before I can get to this, so I thought I''d pass it on.
Also, while I was stuck in the airport in Minneapolis, I decided that
the getrlimit method should be refactored to remove the process from
the job (if it wasn''t already in one) after it''s finished, if
possible.
Dan
---------- Forwarded message ----------
From: Ben Nagy <ben.nagy.web at
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
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
2006 Aug 08
2
win32 eventlog dup
That''s weird. Line 296 is just a call to FormatMessage().
Folks on the mailing list - could this be a wide character issue? Buffer
too small maybe?
Regards,
Dan
Pe?a wrote:
> forgot:
>
> it segfaults on the win2k3 server (domain controller).
>
> it has _not_ segfault on my winxp pro though.
>
>
>
> # -----Original Message-----
> # From: Pe?a, Botp
2006 Feb 26
1
A quick announcement
Hi all,
In light of Curt''s decision to use VC++ 6 to build the latest one click
installer, along with what are undoubtedly future compatibility problems
between old and new compilers, I think it''s best if we try to move over
the simpler packages to a pure Ruby solution using Win32API. I have
started that process by releasing pure Ruby versions of win32-clipboard
and
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
2007 May 04
1
[ win32utils-Patches-6236 ] Add debug API
Patches item #6236, was opened at 2006-10-19 07:10
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=413&aid=6236&group_id=85
>Category: windows-pr
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Jano Svitok (janek)
>Assigned to: Daniel Berger (djberg96)
Summary: Add debug API
Initial Comment:
This adds couple of methods to
2007 May 04
1
[ win32utils-Patches-6237 ] Add Guid API
Patches item #6237, was opened at 2006-10-19 07:11
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=413&aid=6237&group_id=85
>Category: windows-pr
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Jano Svitok (janek)
>Assigned to: Daniel Berger (djberg96)
Summary: Add Guid API
Initial Comment:
This adds API for creating GUIDs.
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