Hi All,
Below is an excerpt of one of my header files. As you might have noticed, I
am using Indy, TurboPower Internet Professional, and ICS components together
in the same module.
#include "IdBaseComponent.hpp"
#include "IdComponent.hpp"
#include "IdHTTP.hpp"
#include "IdTCPClient.hpp"
#include "IdTCPConnection.hpp"
#include "SmtpProt.hpp"
#include "FtpCli.hpp"
#include <scktcomp.hpp>
#include "IpFtp.hpp"
I have found that this is the only definition order which will compile ie...
Indy first, ("IdBaseComponent.hpp", "IdComponent.hpp", "IdHTTP.hpp",
"IdTCPClient.hpp", "IdTCPConnection.hpp")
then ICS, ("SmtpProt.hpp", "FtpCli.hpp")
followed by Borland, (<scktcomp.hpp>)
and finally TurboPower Internet Professional, ("IpFtp.hpp").
All other arrangements fail with errors relating to the fact that both
"winsock.h" and "winsock2.h" both appear to have been included.
Cheers,
Keith Willis.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be