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 

Linker error

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> VCL Scheduling Agent
View previous topic :: View next topic  
Author Message
petrossa



Joined: 12 Aug 2008
Posts: 23

PostPosted: Thu Sep 18, 2008 4:37 pm    Post subject: Linker error Reply with quote

WideString temp=FTask->Triggers->operator [](CurAction)->UserName;
gets linker error:

[ILINK32 Error] Error: Unresolved external '__fastcall Satask::TTrigger::GetUserNameA()' referenced from C:\USERS\PETER\DOCUMENTS\RAD STUDIO\PROJECTS\TASKEXPLORER\DEBUG_BUILD\PROPERTIES.OBJ

i have satask.pas included in the project.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Thu Sep 18, 2008 5:28 pm    Post subject: Reply with quote

I guess you need to add #include directive.
Back to top
View user's profile Send private message
petrossa



Joined: 12 Aug 2008
Posts: 23

PostPosted: Fri Sep 19, 2008 4:21 pm    Post subject: Reply with quote

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 the exception of this one.

Addendum:

I changed the getter function name in the TTrigger class satask.pas from GetUserName to GetUserNames and now it links fine.

Some functionnames overlap in different components i guess
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> VCL Scheduling Agent All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


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