SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 23 matches
SiComponents Forums Forum Index
Author Message
  Topic: suggestion
petrossa

Replies: 2
Views: 6417

PostForum: VCL Scheduling Agent   Posted: Mon Sep 29, 2008 10:05 am   Subject: suggestion
var Actions: array of integer added to the procedure parameter

Actions[I-1] := iacoll[I].type_; added to build a list of actiontypes

that way you can have knowledge of the kind of actions in vis ...
  Topic: suggestion
petrossa

Replies: 2
Views: 6417

PostForum: VCL Scheduling Agent   Posted: Sun Sep 28, 2008 4:04 pm   Subject: suggestion
to facilitate localisation i suggest the following codechange:

procedure TTaskItem.GetTasksLists(AList1: TStringlist; AList2: TStringlist;var Actions: array of integer);
var
iacoll: IActionColl ...
  Topic: Linker error
petrossa

Replies: 2
Views: 6185

PostForum: VCL Scheduling Agent   Posted: Fri Sep 19, 2008 4:21 pm   Subject: Linker error
please, obviously the proper file is included if not nothing would link up. I have almost completely finished an entire application using taskscheduler component, and all functions link properly, with ...
  Topic: Setting Time using ITaskSettings interface
petrossa

Replies: 6
Views: 10101

PostForum: VCL Scheduling Agent   Posted: Fri Sep 19, 2008 4:17 pm   Subject: Setting Time using ITaskSettings interface
well, first thing i did before posting was trying:
PT1H
PT2H0M
P0M3D
P0Y0M1DT0H0M

which didnt work. So thats why i compiled YOUR delphidemo, tried to set the expiration limit with using your P ...
  Topic: Linker error
petrossa

Replies: 2
Views: 6185

PostForum: VCL Scheduling Agent   Posted: Thu Sep 18, 2008 4:37 pm   Subject: Linker error
WideString temp=FTask->Triggers->operator [](CurAction)->UserName;
gets linker error:

[ILINK32 Error] Error: Unresolved external '__fastcall Satask::TTrigger::GetUserNameA()' referenced f ...
  Topic: Setting Time using ITaskSettings interface
petrossa

Replies: 6
Views: 10101

PostForum: VCL Scheduling Agent   Posted: Thu Sep 18, 2008 4:33 pm   Subject: Setting Time using ITaskSettings interface
EndDate in itself doesn't really cause any problems.
i use
FTask->Triggers->operator [](MultipleActionsIndex)->EndDate=TEndDate->AsDate();

where TEndDate is a TEdit decendant with a ...
  Topic: Setting Time using ITaskSettings interface
petrossa

Replies: 6
Views: 10101

PostForum: VCL Scheduling Agent   Posted: Thu Sep 18, 2008 6:03 am   Subject: Setting Time using ITaskSettings interface
is there anyway of knowing if this post is under evaluation?
  Topic: Setting Time using ITaskSettings interface
petrossa

Replies: 6
Views: 10101

PostForum: VCL Scheduling Agent   Posted: Sat Sep 13, 2008 5:30 pm   Subject: Setting Time using ITaskSettings interface
Using any method/property that takes a date/time as documented format (The format for this string is PnYnMnDTnHnMn etc) throws an exception.

At first i quessed i did it wrong, but i ran the provide ...
  Topic: c++ problems
petrossa

Replies: 23
Views: 27604

PostForum: VCL Scheduling Agent   Posted: Sun Sep 07, 2008 6:33 pm   Subject: c++ problems
Can't get rid of the startboundary exception. I finally managed to trap the errorcode, it's

SCHED_E_MISSINGNODE
0x80041319
The task XML is missing a required element or attribute.

Can you poi ...
  Topic: c++ problems
petrossa

Replies: 23
Views: 27604

PostForum: VCL Scheduling Agent   Posted: Wed Aug 27, 2008 6:43 pm   Subject: c++ problems
tnx for your efforts, i appreciate them. I can only quess there's some weird interaction that takes place between different VCL's.

I use also LMD-tools v7 and it seems theres some 'i dont know what ...
  Topic: c++ problems
petrossa

Replies: 23
Views: 27604

PostForum: VCL Scheduling Agent   Posted: Sat Aug 23, 2008 3:44 pm   Subject: c++ problems
it's that bothersome person again...

Could this be a cause?
http://www.inter-locale.com/whitepaper/DelphiI18NCookbook.html

the exception goes as follows:

when defining a task and you choose ...
  Topic: c++ problems
petrossa

Replies: 23
Views: 27604

PostForum: VCL Scheduling Agent   Posted: Fri Aug 22, 2008 11:37 am   Subject: c++ problems
yes i quessed as much, but the present source depends on 3rd party vcl components so i cant give it.

I just hoped it meant something to you, because read i the tasksched doc the there is a StartBou ...
  Topic: c++ problems
petrossa

Replies: 23
Views: 27604

PostForum: VCL Scheduling Agent   Posted: Thu Aug 21, 2008 6:24 am   Subject: c++ problems
www.petrossa.com/sample.rar

when tracing into the function i end up in the in the system lib. As its the c++ inmplementation it jumps to the ASM section. The exception occurs after this sequence
...
  Topic: c++ problems
petrossa

Replies: 23
Views: 27604

PostForum: VCL Scheduling Agent   Posted: Wed Aug 20, 2008 5:15 pm   Subject: c++ problems
The Boundary Exception occurs when this function is called.

FInterface := itf.RegisterTaskDefinition(CollapseName(FTaskName),
FTaskDefinition, TASK_CREATE_OR_UPDATE, s, s,
FTaskDefi ...
  Topic: c++ problems
petrossa

Replies: 23
Views: 27604

PostForum: VCL Scheduling Agent   Posted: Tue Aug 19, 2008 11:15 am   Subject: c++ problems
tnx for the info. Nice job the component. I took one look at the task scheduler documentation and started looking for a readymade.

It is very functional, well done
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


Powered by p h p B B  © 2001, 2005 p h p B B  Group