EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Linker Error when using TElSimpleFTPClient

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#6087
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.
#6088
Posted: 05/02/2008 15:27:07
by Eugene Mayevski (EldoS Corp.)

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


Sincerely yours
Eugene Mayevski
#12048
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
#12050
Posted: 01/05/2010 09:08:52
by Eugene Mayevski (EldoS Corp.)

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
#12051
Posted: 01/05/2010 10:06:54
by Eugene Mayevski (EldoS Corp.)

Taken from the CodeGear newsgroup:

Quote

> 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
Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.

Reply

Statistics

Topic viewed 3694 times

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




|

Back to top

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

Got it!