🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #677

Console Project can't find Indy10 .hpp files

#677
From: 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;
}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
Technical Details
Message-ID: <4770f3e4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,1e9494c1a4d68258,start
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "CharlesLeggette" <charlesleggette@earthlink.net>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Console Project can't find Indy10 .hpp files
Date: Tue, 25 Dec 2007 06:13:25 -0600
Lines: 54
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 66.60.79.20
Message-ID: <4770f3e4$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1198584804 66.60.79.20 (25 Dec 2007 04:13:24 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 2871