Displaying 20 results from an estimated 400 matches similar to: "win32-service patch"
2006 Dec 07
0
Fwd: win32-service problems with patch
Got this today. Please take a look and let me know what you think.
- Dan
---------- Forwarded message ----------
From: Kevin Burge <kevin.burge at systemware.com>
Date: Dec 7, 2006 6:45 AM
Subject: win32-service problems with patch
To: djberg96 at gmail.com
Hi Daniel,
Thanks for win32-service. In the process of using it for running a
reliable-msg (drb) server and clients, I had some
2006 Jun 18
7
[Fwd: Ruby Win32-Service]
Thoughts?
Dan
-------------- next part --------------
An embedded message was scrubbed...
From: "Patrick Hurley" <phurley at gmail.com>
Subject: Ruby Win32-Service
Date: Sun, 18 Jun 2006 12:46:01 -0400
Size: 2863
Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20060618/cc346796/attachment.eml
2006 Jun 18
1
Win32-Service and threading
First off I just want to pass on a big thank you to everyone who has
worked on the win32 packages, they have helped me numerous times. But
(of course you knew it had
to be coming :-)...
I have just started doing some work with win32-service -- I was
creating a wrapper around it and daemon.rb, so I could write one body
of code that depending upon platform would provide a reasonable
interface for
2005 Sep 08
11
Stopping services
I''m back to getting stuff to run as a Windows service, and am running
in to a problem. My service (a Daemon ruby class) installs and starts
fine, but when I try to stop it, I get:
C:\workspaces\default\tahoe>ruby script\service stop
script/service:77:in `stop'': An exception occurred in the service
when handling
the control request. (Win32::ServiceError)
from
2004 Feb 05
1
Service event hooks question
In order to be able to call event hooks as I mentioned previously it
looks like I''ll have to do something like this in Service_Ctrl():
// For example
if(dwCtrlCode == SERVICE_CONTROL_STOP){
rb_funcall(self,rb_intern("send"),rb_intern("on_stop"));
}
There are a few problems. First, I''m not sure I''m calling that
properly. Second, I don''t
2006 May 22
9
win32/service... still with problems.
Hello list,
In my quest to get Mongrel working as service for win32, found some
problems with win32/service that make it impossible to solve.
Attached is the simplest service script I could do with ruby, which
depends on win32/service.
I found that doing anything complex in service_stop (killing threads,
doing file handling, even sleeping for 0.25 seconds). crash the
service with backtraces (of
2010 Dec 15
3
File type: no success using array
Hi all,
from http://docs.puppetlabs.com/guides/language_tutorial.html this
syntax should be ok:
file { [ ''foo'', ''bar'', ''foobar'' ]:
owner => root,
group => root,
mode => 600,
}
I''ve this in my code:
file { [ ''/software/atlas'' , ''/software/cms'' ,
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
2008 Jun 10
7
Unraveling a FAR*
Hi all,
Just looking over fole_s_connect() in win32ole.c and I noticed this bit:
hr = CLSIDFromProgID(pBuf, &clsid);
...
hr = GetActiveObject(&clsid, 0, &pUnknown);
...
hr = pUnknown->lpVtbl->QueryInterface(
pUnknown,
&IID_IDispatch,
(void **)&pDispatch
);
Using win32-api, that would be something like:
IID_IUnknown =
2004 Mar 10
2
installing event.so
Minor goof in extconf.rb - fixed.
-----Original Message-----
From: win32utils-devel-bounces@rubyforge.org
[mailto:win32utils-devel-bounces@rubyforge.org] On Behalf Of
win32utils-devel@rubyforge.org
Sent: Tuesday, March 09, 2004 10:53 PM
To: win32utils-devel@rubyforge.org
Subject: [Win32utils-devel] installing event.so
I tried installing win32-event and it installed in
c:\ruby\...\i386-msvcrt.
2006 Oct 06
13
Need some help with latest win32-mmap
Hi all,
I''ve got the latest win32-mmap code checked into CVS. Unfortunately, it
seems that I''m not able to open an existing mapping and retrieve set
data. Below is a simple example that seems like it ought to work but
doesn''t. Any ideas?
# map1.rb
require ''win32/mmap''
include Win32
mmap = MMap.new(:name => ''alpha'', :size
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
2008 Apr 25
4
win32-mmap test failures
Hi all,
This is odd. It looks to me like we have all 4 variations of memcpy set
in Windows::MSVCRT::Buffer but somehow this one creeps up. I actually
noticed it in a few cases with that earlier mmap sub/replace example,
but I wasn''t sure what was happening.
Note that windows-api 0.2.3 and windows-pr-0.8.3 are the latest versions
in CVS, but this happens with windows-api-0.2.2 and
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
2006 Feb 02
5
Fwd: win32-clipboard and Unicode zero bytes
Hi all,
I''m forwarding this message from Brian Marick. If you
run this test script and then paste the results into a
Unicode aware text editor, you''ll notice that it only
prints one character instead of three.
I tried changing the strlen to _tcslen and strcpy to
_tcscpy, but that didn''t help. I mucked around a bit
with the MultiByteToWideChar function, too, but
2004 Nov 23
2
streams in fork
hi all,
is there a way to use fork with redirected streams? i mean in a
similar way that ruby''s standard open3 does it.
i''d like to be able to read the stdout/stdin/stderr streams from the
forked ruby process in the parent process.
cheers,
aslak
2004 Mar 11
5
win32-etc-0.2.2 testing wanted
I''ve commited code for win32-etc 0.2.2, which adds the configure_user and
configure_group methods. Testing appreciated. On my home system, I can''t
get configure_user to work, but I haven''t any real idea why it fails. The
configure_group method seems to work fine, however.
Dan
_________________________________________________________________
Fast. Reliable. Get
2004 Dec 10
5
win32-process 0.3.1 is out
Hi all,
Just wanted to let you know that I released 0.3.1 last night. This
addresses Bug #712 and incorporates Patches #1087 and #1137 (thanks
Aslak).
I''ll try to get an open4 implementation out this weekend, though I
noticed that Aslak''s patch is different than what Park originally had,
so I''ll have to decide which I prefer, or if they can be blended
somehow.
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."
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.