Page 1 of 1

Build with BCB2009, get link error"unresolved external'_fast

Posted: 27 May 2010, 02:38
by jasonz_2003
Hi guys,

I am using C++ builder 2009 and CADImportVCL_CADExportVCL_7.2.5_demo_builder . When I try to build any of your sample projects, always get the link error "unresolved external'_fastcall System::SetCodePage(........) from \lib2009win32\SHX.OBJ ". I guess it may be caused by some setting in BCB2009 but do not know which. Please help.

Jason

Re: Build with BCB2009, get link error"unresolved external'_fast

Posted: 27 May 2010, 12:18
by support
Hello.
Generally "unresolved external'_fastcall..." errors can take place if wrong linking or incorrect OBJ version linked. Please try copy ...\lib2009win32\ content to project\lib\ folder. Possible the difference in Bulider update versions can result in such situation. Please try install Buider 2009 update 3. Please specify if you have only one "unresolved external'_fastcall..." error or numerous.

Alexander.

Re: Build with BCB2009, get link error"unresolved external'_fast

Posted: 27 May 2010, 12:49
by jasonz_2003
Thanks for the reply. I suppose the libery path is not the issue as in the error message it is indicated that the external was refered by ....\lib2009win32\SHX.OBJ, which means the linker has found the right path for the lib files.
I will try the BCB update3.
This is the only error message, so I wonder if there is a way to recompile the SHX.obj. Please advice how to compile it in BCB2009.

Re: Build with BCB2009, get link error"unresolved external'_fast

Posted: 27 May 2010, 13:20
by support
Hello Jason,
you can't recompile the SHX.obj, we build it from own source file. However we haven't such error on project compilation in BCB2009. Possible the update will resolve the situation. Please let us know about results.

Alexander.