By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,496 Members | 1,527 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,496 IT Pros & Developers. It's quick & easy.

linker error: unresolved external __fastcall

P: 3

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

#include "Advdgrid.hpp"

and the .cpp was as follow:

#Pragma link "Advdgrid"

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

Linker error: Unresolved external '__Fastcall_Advgrid::TAdvstringGrid::AutosizeCol(c onst int, const int) referenced from C:\MHSS\Gamespaceframe.OBJ.

Any help or comment is appreciated,

Thanks in advance,


Feb 12 '10 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 9,197
Everything compiled OK. You have a linker error.

This function:

Expand|Select|Wrap|Line Numbers
  1. 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.

1) you left out code from the compile step.
2) you left out a library that contains this function from the link step
Feb 12 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.