Mega Search
23.2 Million


Sign Up

Make a donation  
Console Project can't find Indy10 .hpp files  
News Group: borland.public.cppbuilder.internet.socket

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...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
#include 
#pragma hdrstop
#include "IdExplicitTLSClientServerBase.hpp"
#include "IdSMTPBase.hpp"
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#define MAIN_PGM
#include 
//---------------------------------------------------------------------------

#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;
}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 



Vote for best question.
Score: 0  # Vote:  0
Date Posted: 25-Dec-2007, at 6:13 AM EST
From: CharlesLeggette
 
Re: Console Project can't find Indy10 .hpp files  
News Group: borland.public.cppbuilder.internet.socket
"CharlesLeggette"  wrote in message 
news:4770f3e4$1@newsgroups.borland.com...

> 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.

> 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 



Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 27-Dec-2007, at 12:15 PM EST
From: Remy Lebeau \(TeamB\)