search for: mwin32

Displaying 5 results from an estimated 5 matches for "mwin32".

Did you mean: win32
2004 Oct 23
0
win32-ipc, with blocks (code review please)
...gnalled. if(dwWait == WAIT_OBJECT_0){ if(rb_block_given_p()){ rb_yield(self); } return INT2NUM(1); } else if(dwWait == WAIT_ABANDONED_0){ return INT2NUM(-1); } else if(dwWait == WAIT_TIMEOUT){ return INT2NUM(0); } else{ return Qnil; } } void Init_ipc() { VALUE mWin32, cIpc; /* Modules and Classes */ mWin32 = rb_define_module("Win32"); cIpc = rb_define_class_under(mWin32, "Ipc", rb_cObject); cIpcError = rb_define_class_under(mWin32,"IpcError",rb_eStandardError); // IPC class and instance methods rb_define_alloc_f...
2004 Apr 09
2
Issues with win32-service Daemon
Hi all, I wrote a little echo client to run as a service. I have a couple of problems with this. First, any time I try to define anything in "initialize", the service fails to start. Any idea why? Also, this service runs for a while, then just quits for no reason that I can see. The Event Log merely says, "The Abba service terminated unexpectedly". Any ideas on
2004 Sep 21
1
win32-shortcut problems
Hi all, I''ve started porting the Win32::Shortcut Perl module over to Ruby. I''ve done some initial work and committed it to CVS (look under win32utils - I goofed and made a toplevel dir as well - it''s empty). Anyway, everything compiles fine, but when I do "s = Shortcut.new" I get a weird error: test.rb:11:in `initialize'': undefined method
2001 Sep 04
2
R under Win2k
I have tried to compile R-1.3.1 under the Cygwin environment, but it does not seem to work, although the option is there. Must I use Mingw32? At the same time, I cannot figure out how to build packages from sources under Win32. Are there examples on how to do this? Thanks. - Andrea Malagoli Universtiy of Chicago -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2004 Jul 31
3
Bug in new_work_item
Hi all, Windows 2000 Ruby 1.8.2 R7 VC++ 6.0 I noticed that if I try to call new_work_item and give the task a name that already exists, I get a segfault: C:\eclipse\workspace\win32-taskscheduler>ruby test.rb "0.1.0" test.rb:22:in `new_work_item'': NewWorkItem() function failed (Win32::TaskSchedul erError) from test.rb:22 test.rb:22: [BUG] Segmentation fault ruby