Page 1 of 1

Linker error

Posted: Thu Sep 18, 2008 4:37 pm
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.

Posted: Thu Sep 18, 2008 5:28 pm
by isiticov
I guess you need to add #include directive.

Posted: Fri Sep 19, 2008 4:21 pm
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