Displaying 20 results from an estimated 10000 matches similar to: "A quick announcement"
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
2005 Feb 28
3
test/unit error report for win32-service
Dan,
I am assuming that the version in CVS is the most current one.
Report follows.
-- shanko
------------------------------------------------------
C:\win32utils\win32-service\test>ruby tc_service.rb
This test will stop and start your Clipboard service, as well as
pause and
resume your Schedule service. This is harmless unless you are actually
using these services at the moment you
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
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 May 26
1
Interest in win32-installer
I was wondering if people would be interested in wrapping msi.dll
functionality,
I''ve started writing a small library to enable enumeration of products
installed via Windows Installer using win32api (I know I can also
query via win32ole to win32_product but I don''t seem to get all the
properties that are in msi.h).
It''s a little messy, and I''ve not got far as
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'',
2005 May 01
6
win32-changejournal 0.2.0-1 compile error
I get the following error when trying to compile:
win32-changejournal-0.2.0-1
on:
Windows 2000, Service Pack 4
Microsoft Visual Studio 6
Any ideas? Thanks,
Zach
----- ERROR BELOW-----
C:\unzipped\win32-changejournal-0.2.0-1\win32-changejournal-0.2.0>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
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
2004 Nov 04
4
Attempt to build a gemspec
Hi all,
I''m trying to build a gemspec for win32-ipc, using a precompiled binary.
Here''s my gemspec file:
#win32-ipc.gemspec
require "rubygems"
spec = Gem::Specification.new do |s|
s.name = "win32-ipc"
s.version = "0.3.1"
s.platform = Gem::Platform::WIN32
s.summary = "A base class for Win32 synchronization
objects."
2006 Mar 20
5
Need some ACL help for win32-file
Hi folks,
I''ve got most everything done for the pure Ruby version of win32-file.
The last thing left (since I''ll be moving the IO methods to a different
package eventually) is the file security stuff. Here''s what I''ve got so
far for the get_permissions method. However, I''m stuck at GetAce(). If
someone could help me finish up this method, I
2004 Aug 28
2
We need a new installer!
I''ve finished updating all the packages for now. All
the sample scripts for all the packages have been
moved to doc/examples. So, things should be stable
for a while.
Shanko, any chance of creating new installer based on
the current releases?
Dan
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
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
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 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
2005 May 18
2
Networking functionality?
Is there (if not, can we get) the functionality to query for
workstations in the local workgroup or domain?
Zach
2006 May 31
7
Getting at MakeOpenFile
Along the same lines as the last question - how can I get to functions
like MakeOpenFile via Win32API? It doesn''t seem to be exported by
msvcrt-ruby18.
Possible? Or am I out of luck?
Dan
This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have
2006 Aug 21
0
[ win32utils-Bugs-5479 ] Incorrect SetLastErrordeclarations
Fixed in CVS.
> -----Original Message-----
> From: win32utils-devel-bounces at rubyforge.org
> [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of
> noreply at rubyforge.org
> Sent: Monday, August 21, 2006 5:44 AM
> To: noreply at rubyforge.org
> Subject: [Win32utils-devel] [ win32utils-Bugs-5479 ]
> Incorrect SetLastErrordeclarations
>
>
> Bugs
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
2005 Jan 25
3
Change Journals
Hi,
I''ve released win32-changenotify 0.3.0 today. Take a look.
Park and I have discussed a Ruby interface to change journals a little bit:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/creating_modifying_and_deleting_a_change_journal.asp
Park, would you like to do this, or did you want me to? I wasn''t sure from
your RubyForge post.
Also, do