I have some troubles with linking (Ararat) Synapse library on my new C++Builder XE5. Before that I used C++Builder XE2 and everything was OK. Now I've created a new project with C++Builder XE5 and added some code on simple button click event handler method. The code:
Unit1.h
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
//---------------------------------------------------------------------------
#include <blcksock.hpp>
#include <httpsend.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TMemo *Memo1;
TButton *Button1;
void __fastcall Button1Click(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
Unit1.cpp
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button1Click(TObject *Sender)
{
THTTPSend *client = new THTTPSend();
}
Now I got 2 link errors:
Unresolved external 'Httpsend::THTTPSend::' referenced from ...\UNIT1.OBJ
Unresolved external '__fastcall Httpsend::THTTPSend::THTTPSend()' referenced from ...\UNIT1.OBJ
In project options I included a directory with Synapse files
How this errors can be resolved???
Here is the link to Synapse sources I'm using: http://filetonet.com/AAA124f20433ab06682a1443633d799fa5b or http://yadi.sk/d/UKJKR2hoHtD9q