linker error: unresolved external __fastcall

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • david tran
    New Member
    • Feb 2010
    • 3

    linker error: unresolved external __fastcall

    Hello,

    I was compiling a project, and this project has a unit called Gamespaceframe, the header file was as follow:

    :
    #include "Advdgrid.h pp"
    :

    and the .cpp was as follow:

    :
    #Pragma link "Advdgrid"
    :

    When I recompiled this project, I got this linker error:

    Linker error: Unresolved external '__Fastcall_Adv grid::TAdvstrin gGrid::Autosize Col(const int, const int) referenced from C:\MHSS\Gamespa ceframe.OBJ.

    Any help or comment is appreciated,

    Thanks in advance,

    Regards,

    David.
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Everything compiled OK. You have a linker error.

    This function:

    Code:
    external '__Fastcall_Advgrid::TAdvstringGrid::AutosizeCol(c onst int, const int)
    is being called somewhere in the code but the linker can't find the funtion itself.

    Either:
    1) you left out code from the compile step.
    2) you left out a library that contains this function from the link step

    Comment

    Working...