🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
2 messages
2 total messages Started by CharlesLeggette Tue, 25 Dec 2007 12:13
Console Project can't find Indy10 .hpp files
#677
Author: CharlesLeggette
Date: Tue, 25 Dec 2007 12:13
52 lines
3017 bytes
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 <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;
}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
Re: Console Project can't find Indy10 .hpp files
#681
Author: Remy Lebeau (TeamB)
Date: Thu, 27 Dec 2007 20:15
18 lines
1535 bytes
"CharlesLeggette" <charlesleggette@earthlink.net> 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 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads