Displaying 20 results from an estimated 400 matches similar to: "DONT_RESOLVE_DLL_REFERENCES info"
2008 Jan 12
2
win32-taskscheduler and TaskScheduler#account_information
Hi,
This library has needed some work for a while, so I''m finally getting
around to it. I''ve made some changes and updates in CVS, so grab the
latest source to test the issue below.
The first issue I''d like to tackle is why the
TaskScheduler#account_information (GetAccountInformation) method fails
if there''s no user associated with a given task.
The docs
2008 Jan 13
1
Pointer bug in win32-taskscheduler?
Hi all,
I thought this was strange:
ts = TaskScheduler.new
ts.new_work_item(''foo'', trigger)
p ts.status
ts.save
p ts.status # null pointer (ts_get_status)
I noticed that in the ts_save function in taskscheduler.c we''re doing
this at line 278:
ptr->pITask->Release();
ptr->pITask = NULL;
At first I thought this was a mistake but it looks like it''s
2004 Feb 21
1
win32-taskscheduler thoughts
I''ve updated taskscheduler.c and taskscheduler.h. The method names are now
more Ruby-like (though I have to change a couple yet), and I''ve shortened
the constant names, as well as moved the constants over to the .h file.
I was thinking we should merge a few of these methods. I think
"set_target_computer" and "new_work_item" could both be rolled into the
2004 Apr 02
2
Futzing with TaskScheduler
Hi all,
Thought I should say something - it''s been a little while. :)
Anyway, I''m still futzing with how I want the Ruby API to look. The more I
look at the Perl version, the more I think it was too faithful to the C API.
Right now I''m looking at the trigger() method. For example, I don''t see
any reason to make the "type" key take a hash as an
2004 Feb 01
2
test_services test case
While working on win32-service-0.3.0 I got hung up trying to resolve that
"RPC server is unavailable" error message that was popping up on some
systems. I couldn''t duplicate this on my XP Pro box, but it does show up on
my Win2k box.
Quick review - this is the test case from tc_service.rb
def test_services
assert_nothing_raised{ Service.services{ } }
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
2006 Mar 26
5
[ win32utils-Bugs-3924 ] Segmentation fault under Windows
Bugs item #3924, was opened at 26/03/2006 22:12
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=3924&group_id=85
Category: win32-taskscheduler
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: David FAROI (dfaroi)
Assigned to: Nobody (None)
Summary: Segmentation fault under Windows
Initial Comment:
I''m trying to make
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
2004 Jan 26
1
Re: win32-service ideas
>From: Shashank Date <sdate@everestkc.net>
>To: Daniel Berger <djberg96@hotmail.com>, phasis@nownuri.net
>CC: win32utils-devel@rubyforge.org
>Subject: Re: win32-service ideas
>Date: Sun, 25 Jan 2004 10:49:03 -0600
>
>Dan, Park,
>
> > Still nothing. The svc.log file never gets created. It''s definitely
> > choking on the StartService() call.
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
2005 Sep 04
1
Fwd: Win32 Utils TaskScheduler
Note: forwarded message attached.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An embedded message was scrubbed...
From: Scott Harper <sharperct@gmail.com>
Subject: Win32 Utils TaskScheduler
Date: Sun, 4 Sep 2005 17:04:24 -0400
Size: 4971
Url:
2007 Dec 05
21
Fwd: win32/process problem
Any ideas?
---------- Forwarded message ----------
From: Christian Kerth <christian.ke... at dynamicmedia.at>
Date: Dec 5, 8:28 am
Subject: win32/process problem
To: comp.lang.ruby
I have an application that consists of serveral independent parts.
I want to use the Windows Process API to spawn the different
processes.
e.g.
require ''rubygems''
require
2004 Apr 24
5
win32-taskscheduler alpha
Well, I''m going to release the first version of win32-taskscheduler today.
For now, I''ve kept the API about the same as it originally was because I was
spending way too much time futzing around and I wanted to get something out
the door.
For now, I''m calling this a BETA release, with the API subject to change.
See the ''Future Plans'' section of
2004 Mar 09
6
win32-mmap test suite
I just tried running tc_mmap.rb and noticed that something rather curious
seems to happen. The call to Mmap.new in setup seems to cause the test
suite to just exit without ever actually running the tests.
I reduced the test suite to just this bit of code. This works, although the
final test (TypeError) does not pass - no exception in thrown.
This is 1.8.1 on Win2k.
Any ideas?
Dan
PS - I
2009 Jul 08
1
[PATCH: host-browser replacement 0/3] replacement of host-browser on ovirt-server
The purpose of this patch is to replace the identify function in
host-browser.rb with a new script, host-register.rb.
host-register.rb is a qmf ruby console that interfaces with the newly
added matahari qmf agent on the ovirt node. While it stores node data
in the database with the same behavior as the original host-browser
implementation, it acquires the data using the amqp protocol (and
2011 May 17
5
has_many through question
hi there,
i thing i just have a logical problem.
i have following models.
class Area < ActiveRecord::Base
belongs_to :taskschedule
belongs_to :service
end
class Service < ActiveRecord::Base
has_many :taskschedules, :through => :areas
has_many :areas
end
class Taskschedule < ActiveRecord::Base
has_many :services, :through => :areas
has_many :areas
end
Following View
2009 Jul 10
2
[PATCH: server 0/3] Add host-register.rb (replaces host-browser.rb in part)
Removes node identification functionality from host-browser.rb and adds a new script,
host-register.rb, that takes over that functionality.
The chief difference is that host-browser used a simple TCP server setup to get data
from the node, while host-register uses the qpid bus to do so. Specifically, it
communicates with the matahari qmf agent added to the node in two related patchsets to
node
2008 Jan 13
0
TaskScheduler#active? and TaskScheduler#exists?
Hi all,
I think I would like to add the TaskScheduler#active? and
TaskScheduler#exists? methods. I''m not sure how they should be
implemented however.
For TaskScheduler#exists? I suppose I could use the IEnumWorkItems and
iterated over the list. Is there a better way?
The TaskScheduler#active? would just tell me if a given task has been
activated or not, but I''m not sure
2007 Oct 21
0
Taking a stab at a pure Ruby Dir.glob
Hi all,
Here''s what I''ve come up with so far for a pure Ruby Dir.glob for MS
Windows. It almost works. The problem right now is the [] notation,
which I''m not translating properly into a regex.
I haven''t started on the ''**'' notation yet either, but I figure that''s
more of a control flow issue. Feel free to disagree with me and/or
2012 Jan 18
2
[LLVMdev] Best way to interface with MSVC _ftol2 runtime function for fptoui?
Hi everyone. On i386--win32 targets, LLVM tries to use the MSVCRT
routine _ftol2 for floating-point to unsigned conversions, but this
function has a nonstandard calling convention LLVM doesn't understand.
It takes its input operand on the x87 stack as ST0, which it pops off
of the stack before returning. The return value is given in EDX:EAX.
In effect, I need to call it like this:
%1 = call