Board index » cppbuilder » Console Project can't find Indy10 .hpp files

Console Project can't find Indy10 .hpp files


2007-12-25 08:13:25 PM
cppbuilder23
I've a simple console project that includes a sendEmail.cpp file. This works
fine in a VCL Forms project with identical Options->Path and Defines and
Indy10 in Tools->Options->Paths and Defines ...but the compiler CANNOT find
[BCC32 Error] SysPriceVarianceReportFile.cpp(12): E2209 Unable to open
include file 'IdExplicitTLSClientServerBase.hpp'
[BCC32 Error] SysPriceVarianceReportFile.cpp(13): E2209 Unable to open
include file 'IdSMTPBase.hpp'
[BCC32 Error] SysPriceVarianceReportFile.cpp(14): E2209 Unable to open
include file 'IdBaseComponent.hpp'
[BCC32 Error] SysPriceVarianceReportFile.cpp(15): E2209 Unable to open
include file 'IdComponent.hpp'
[BCC32 Error] SysPriceVarianceReportFile.cpp(16): E2209 Unable to open
include file 'IdMessage.hpp'
[BCC32 Error] SysPriceVarianceReportFile.cpp(17): E2209 Unable to open
include file 'IdMessageClient.hpp'
[BCC32 Error] SysPriceVarianceReportFile.cpp(18): E2209 Unable to open
include file 'IdSMTP.hpp'
[BCC32 Error] SysPriceVarianceReportFile.cpp(19): E2209 Unable to open
include file 'IdTCPClient.hpp'
even though I can right click the #include "id..." file and the editor
immeditaely find it and opens it...here is the short console project in its
entireity...Thanks in advance...
Quote
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
#include <vcl.h>
#pragma hdrstop
#include "IdExplicitTLSClientServerBase.hpp"
#include "IdSMTPBase.hpp"
#include <IdBaseComponent.hpp>
#include <IdComponent.hpp>
#include <IdMessage.hpp>
#include <IdMessageClient.hpp>
#include <IdSMTP.hpp>
#include <IdTCPClient.hpp>
#include <IdTCPConnection.hpp>
#define MAIN_PGM
#include <ksmart.h>
//---------------------------------------------------------------------------
#pragma argsused
int main(int argc, char* argv[])
{
startup("SysPriceVarianceReport");
//
Rtp.isReportVariancesBySystem = true;
Rtp.isReportVariancesByPlan = false;
//
Sys.openSystemTables();
Gss.variancesReport(Pln.view);
Sys.closeAll();
return 0;
}
Quote
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 
 

Re:Console Project can't find Indy10 .hpp files

"CharlesLeggette" < XXXX@XXXXX.COM >wrote in message
Quote
I've a simple console project that includes a sendEmail.cpp file. This
works fine in a VCL Forms project with identical Options->Path and
Defines and Indy10 in Tools->Options->Paths and Defines ...but the
compiler CANNOT find
Then clearly, your paths are NOT set up correctly.
Quote
even though I can right click the #include "id..." file and the editor
immeditaely find it and opens it...
That does not mean the *compiler's* paths are set up properly.
Gambit