search for: pitask

Displaying 2 results from an estimated 2 matches for "pitask".

Did you mean: pitas
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
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 required. I think part of what''s confusing me is that we''re not encapsulating work items separately and that TaskScheduler#status only checks the currently active task....