Linker error

This forum is designated to discuss SiComponents Scheduling Agent.
Post Reply
petrossa
Posts: 23
Joined: Tue Aug 12, 2008 6:38 pm

Linker error

Post by petrossa »

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.
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

I guess you need to add #include directive.
Best regards,
Igor Siticov.
petrossa
Posts: 23
Joined: Tue Aug 12, 2008 6:38 pm

Post by petrossa »

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
Post Reply