similar to: Re: Problems with DeviceIoControl

Displaying 20 results from an estimated 80000 matches similar to: "Re: Problems with DeviceIoControl"

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"); }
2006 Jun 18
0
[ win32utils-Bugs-4699 ] Service dependencies are not being created properly
Bugs item #4699, was opened at 2006-06-07 19:21 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=4699&group_id=85 Category: win32-service Group: Code >Status: Closed >Resolution: Accepted Priority: 3 Submitted By: Scott Harper (sharperct) Assigned to: Park Heesob (phasis68) Summary: Service dependencies are not being created properly Initial
2004 Feb 25
1
win32-mmap committed
Hi all, I have committed win32-mmap package. It is similar to mmap or shared memory of unix Basically, it can be used for variable sharing like this In server side ================================== m = Mmap.new a = 1 m.setvar("a",a) =================================== In client side ================================== m = Mmap.new(''reuse''=>true) a =
2008 May 06
4
DeviceIoControl + IOCTL_DISK_GET_DRIVE_GEOMETRY problem
Hi all, Ok, what am I doing wrong here? require ''windows/device_io'' require ''windows/handle'' require ''windows/error'' include Windows::DeviceIO include Windows::Handle include Windows::Error fh = File.open(''test.txt'') # Assume you have this handle = get_osfhandle(fh.fileno) if handle == INVALID_HANDLE_VALUE puts
2007 Aug 14
0
[ win32utils-Bugs-10555 ] wait call in while loop generate "bignum too big to convert into long" error
Bugs item #10555, was opened at 2007-05-03 09:48 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=10555&group_id=85 Category: win32-changejournal Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Dong Zhang (dzhang) Assigned to: Park Heesob (phasis68) >Summary: wait call in while loop generate "bignum too big to convert
2004 Nov 10
1
Silly question of the day:
Hi, > > Hi all, > > I noticed that I named the permission methods "get_permission" and > "set_permission". For some reason this is bugging me. Would anyone object > if I changed it to "get_permissions" and "set_permissions"? I don''t really > want to create an alias... > Following is the Result of the Google Search
2005 Nov 23
0
Some code change suggestions of thenwin32-service package
> -----Original Message----- > From: win32utils-devel-bounces at rubyforge.org > [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of > Park Heesob > Sent: Wednesday, November 23, 2005 6:16 AM > To: Development and ideas for win32utils projects > Subject: [Win32utils-devel] Some code change suggestions of > thenwin32-service package > > > Hi, >
2007 Sep 27
2
Threads and IO (gets) still a problem for us?
Hello Guys, I''m trying to get this working: t = Thread.new { while true puts "printing a line" sleep 2 end } gets t.exit puts "exiting" As you see, the idea is get multiple "printing a line" until a hit enter. The thing is this is a known problem for 1.8 on win32. I tried both mingw, VC6 and VC8 with the same results. Saw a post
2004 Feb 06
1
Service pause and resume
I committed a new version of service.c and daemon_test.rb. Now you can pause and resume a Ruby service module. Regards, Park Heesob --MIME Multi-part separator--
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
2004 Nov 16
0
Re: Win32, file descriptors and rb_io_check_writable()
Hi, > >Thank you very much Park. There is one curious difference I noticed >with the write operations. It seems that there is a line ending issue >between a file descriptor opened with File.open vs File.nopen. You >can see this easily enough by doing something like this: > >fh1 = File.open("test1.txt","w+") >fh1.print "hello\nworld\n"
2004 Nov 16
0
Re: Win32, file descriptors and rb
Hi Dan, > > Hi Park, > > On a side note, any clue as to why Nobu''s suggestion doesn''t seem to > work? I tried his suggested patch of sending a second argument. It > compiles fine, and I don''t get any warnings, but it simply doesn''t seem > to write anything to a file when I tried. > > See my note on the ML for more details. >
2005 Sep 28
1
[ win32utils-Bugs-2532]Etc::Admin.configure_group problem
> -----Original Message----- > From: win32utils-devel-bounces at rubyforge.org > [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of > Park Heesob > Sent: Wednesday, September 28, 2005 3:05 AM > To: Development and ideas for win32utils projects > Subject: Re: [Win32utils-devel] [ > win32utils-Bugs-2532]Etc::Admin.configure_group problem > > > Hi,
2004 Oct 20
0
RE: Another Interesting
Excellent, thanks! Dan > -----Original Message----- > From: win32utils-devel-bounces@rubyforge.org > [mailto:win32utils-devel-bounces@rubyforge.org] On Behalf Of > win32utils-devel@rubyforge.org > Sent: Tuesday, October 19, 2004 7:42 PM > To: win32utils-devel@rubyforge.org > Subject: Re:[Win32utils-devel] RE: Another Interesting > > > Hi, > > > >
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
2007 May 03
1
[ win32utils-Bugs-10555 ] wait call in while loop generate "bignum too big to convert into long" error
Bugs item #10555, was opened at 2007-05-03 11:48 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=10555&group_id=85 Category: win32-changejournal Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Dong Zhang (dzhang) Assigned to: Park Heesob (phasis68) Summary: wait call in while loop generate "bignum too big to convert into
2004 Jan 26
1
Re: win32-service ideas
>From: "Park Heesob" <phasis@nownuri.net> >To: "Shashank Date" <sdate@everestkc.net>, <djberg96@hotmail.com> >CC: <win32utils-devel@rubyforge.org> >Subject: Re: win32-service ideas >Date: Sun, 25 Jan 2004 16:41:32 +0900 > >Hi, > >In my computer, I can''t reproduce timeout error. :-) >I have committed service.c adding
2004 Feb 15
1
Win32::Process fork fragility
Park, I was just playing around with the Process.fork/wait that you committed. I discovered that it''s rather easy to break with this: require "win32/process" include Win32 Dir.chdir ".." # This causes the problem pid = Win32::Process.fork if pid == 0 puts "In the child" exit else puts "In the parent" end Win32::Process.wait(pid) I think
2005 Sep 28
2
[ win32utils-Bugs-2532 ] Etc::Admin.configure_group problem
Bugs item #2532, was opened at 2005-09-27 23:11 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=2532&group_id=85 Category: win32-etc Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Daniel Berger (djberg96) Assigned to: Park Heesob (phasis68) Summary: Etc::Admin.configure_group problem Initial Comment: Ruby 1.8.2 Windows XP Pro
2004 Oct 13
4
win32-eventlog problem
Hi all, I''ve logged a new bug for win32-eventlog based on Joey Gibson''s ruby talk post (116528). Park, I''ve assigned it to you for now, figuring that you''re probably the one who best knows how to fix it. All help welcome. Dan