EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Linker Error when using TElSimpleFTPClient

Posted: 05/02/2008 15:16:32
by Ravi Garlapadu (Standard support level)
Joined: 05/02/2008
Posts: 1

I have just started using the TELSimplesftpClient and I get some linker errors:
I have all the libraries and the includes specified correctly but I do not understand the pascal extern it is looking for.

I am using CRS 2007. Pleaze help.

Here is one of them.

Unresolved external "CertGetCertificateContextProperty" referenced from "...mypath" ..\Sources\SBCryptoProvWin32.pas.
Posted: 05/02/2008 15:27:07
by Eugene Mayevski (Team)

You must link Crypt32.lib library (it's in ($BDS)\Lib\PSDK) to your project.

Sincerely yours
Eugene Mayevski
Posted: 01/05/2010 08:28:02
by Kenneth Budin (Standard support level)
Joined: 01/05/2010
Posts: 1

I get the same error. I have tried to add Crypt32.lib EVERYWHERE in C++ Builder 2007, please help
Note: It works fine if I build with runtime packages! But I need it to be static linked
Posted: 01/05/2010 09:08:52
by Eugene Mayevski (Team)

Unfortunately IDE won't help here. You need to close your IDE, open the project file in text editor (eg. Notepad) and
a) add Crypt32.lib to the list of additional libraries
b) specify path to this file (it's ($BCB)\Lib\PSDK) in the list of library paths.

Unfortunately, I have no idea how to do step (a) in BCB 2007 project. In previous versions the list of library paths was present in the project path, however, in BCB 2007 project file there's no such entry available.

Sincerely yours
Eugene Mayevski
Posted: 01/05/2010 10:06:54
by Eugene Mayevski (Team)

Taken from the CodeGear newsgroup:


> I could not find any options to add a static library explicitly into
> my project.

Progect->Add to project
In dialog select "*.lib".

This seems to be simple after you learn how to do it :).

Sincerely yours
Eugene Mayevski



Topic viewed 3838 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!