Displaying 16 results from an estimated 16 matches for "vucen".
Did you mean:
cucen
2007 Jan 06
4
spec command and windows
Hello,
Today I ran into some frustration with spec and windows.
We have a series of plugins that have either test suites and/or spec suites.
To avoid environment collisions, we have a "master" test suite that spawns
new process for all of the test suites and spec suites.
Every works great on posix. Unfortunately on windows, spec was not found.
The only way I figured to ensure we get
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
2006 Dec 14
11
Tweak to win32-eventlog
All,
I got a bug report from Greg Holmes where the description wasn''t being
returned properly. At the moment, if there''s no event associated with
the event id, then the description is empty.
However, it turns out that there can still be associated information
about the event. So, I propose the following tweak to the
get_description private method:
# If FormatMessage()
2008 May 11
3
converting a RSTRING to an OLESTR
Hi,
I was going to modify the TaskScheduler#save method to take an optional
file name. But, I need to convert a Ruby string to an OLE string. I
thought I could use this:
http://msdn.microsoft.com/en-us/library/ms692615(VS.85).aspx
But, it only appears to accept literal string constants.
Any other suggestions?
Thanks,
Dan
2003 Oct 25
9
Windows Compile Error
I''ve gotten a lot farther building wxRuby than I did a few months ago. But
its getting late here and I''m going to bed.
In the meantime, does anyone know why I''m getting this compile error:
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -MD -Zi -O2b2xg- -G6
2005 May 01
3
win32-dir 0.1.0 compile problems
I tried to download/compile/install win32-dir, but I couldn''t get it to
go. Over a private email Daniel Berger had me...
"Curious. What platform are you on exactly? Try
modifying the extconf.rb file. Add
''have_library("SHFolder")'' above
''have_library("shell32")''. If that doesn''t work, try
uncommenting the other
2006 Apr 18
1
Sponsoring the Sponsors of the Summer of Code.
I know that the folks at Ruby Central (David Black, Chad Fowler, Rich
Kilmer, et al) had a big impact on Ruby being added to Google''s
''Summer of Code''. They tried last year, but they made it happen this
year.
Based on that, I''ve made a donation to Ruby Central [1] to support the
work that they do (as I did last year). I''d love to see my (almost a)
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");
}
2007 Oct 21
2
Simulating RUBY_CRITICAL
Hi all,
I''ve added some critical section methods to the Windows::Synchronize
module in the windows-pr library (in CVS). Looking at the RUBY_CRITICAL
macro from rubysig.h, it basically looks like this (in pure Ruby):
def RUBY_CRITICAL(&block)
critical_section = [0].pack(''L'')
InitializeCriticalSection(critical_section)
2006 Feb 22
8
Install Rails
My computer doesn''t have network . So when I installed Rails , I had the
following error :
C:\ruby\bin>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install rails
--include-dep endencies Attempting local installation of ''rails'' Local
gem file not found: rails*.gem Attempting remote installation of ''rails''
ERROR: While executing
2005 Feb 26
7
Symlinks for Windows
Hi all,
Dave Burt mentioned the possibility of adding symlinks
to the Dir class.
http://www.sysinternals.com/ntw2k/source/misc.shtml#junction
There is also Autrijus Tang''s symlink Perl module at
http://search.cpan.org/~autrijus/Win32-Symlink-0.04/
Looks easy enough, but it only seems to work for
directories, not regular files. Should we add this to
the Directory class, or simply
2009 Aug 21
3
File.exists?("A:") on Windows VM
Hi,
I''ve got a Windows XP VM on my OS X box. Whenever I call
File.exists?("A:") on it I get a system error pop-up box from Windows.
The title of the window is "Windows - No Disk" and the error is
"Exception Processing Message" followed by some numeric codes.
It''s not a huge deal - eventually control returns to the program and it
returns false
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
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