ECTED] On Behalf Of Wilfried Mestdagh
> Sent: 29. juni 2005 19:36
> To: ICS support mailing
> Subject: Re: [twsocket] Assign event handler to manually
> created TStmpCli
>
> Hello Patrick,
>
> > BTW, the mail can be sent out by ignoring the error.
> Calling the exe
Hello Patrick,
> BTW, the mail can be sent out by ignoring the error. Calling the
> exe out of the IDE does not have error
> at all.
This is very strange. It looks to me a CBulder IDE bug. Can someone
confirm this ?
I have no CBuilder installed at the moment, but is there someone who can
step t
Thanks for your response, Wilfried
> I'm not 100% sure, but I thought you dan step trough pascal units with
> cbuilder. Try to delete the SmtpProt.obj and SmtpProt.dcu files (maybe
> only one of them is there), check the debug options in IDE and rebuild
> the project.
I tried removing SmtpProt.o
Hello Patrick,
> to see what goes wrong. However in the Pascal unit the "Watch" and
> "Debug - Inspect" features of the C++ Builder IDE are not workable.
I'm not 100% sure, but I thought you dan step trough pascal units with
cbuilder. Try to delete the SmtpProt.obj and SmtpProt.dcu files (maybe
> Message-based component are 100% OK in a console mode application. There are
> a lot of console mode
> samples delivered with ICS (at least written in Delphi). Start looking by the
> most recent which are
> always the best.
I want to step into the SmtpProt.pas and trace the variables value to
> I also note in the SmtpProt.pas there is a derived class TSyncSmtpCli.
> Does this class support blocked operations which are not
> message-based? Is there any example in using this derivative?
TSyncSmtpCli is message based as are all other ICS component except icmp/ping.
Message-based compon
Hello Patrick,
TSyncSmtpCli is discouraged to use because it is very old and therefore
not really supported anymore.Use TSmspCli instead.
---
Rgds, Wilfried
http://www.mestdagh.biz
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/lis
Patrick Wong wrote:
> Thanks for your advice.
>
> Console program does not have message pump by default. I built a simple
> function to peek messages in the following way:
>
> void __fastcall PumpMessages()
> {
> MSG Msg;
> unsigned short TimeTick = 0;
>
> while(TimeTick < 50)
> {
>
Thanks for your advice.
Console program does not have message pump by default. I built a simple
function to peek messages in the following way:
void __fastcall PumpMessages()
{
MSG Msg;
unsigned short TimeTick = 0;
while(TimeTick < 50)
{
if(PeekMessage(&Msg, NULL, 0, 0, PM_REMOVE
twsocket] Assign event handler to manually created TStmpCli object
> Dear all,
>
> I am writing a simple mail client in console application form. I manually
> created a TSmtpCli
object for my purpose.
>
> The problem is that after I call the SmtpClient->Connect() method, the c
Dear all,
I am writing a simple mail client in console application form. I manually
created a TSmtpCli object for my purpose.
The problem is that after I call the SmtpClient->Connect() method, the client
fails to connect to the SMTP server. I referenced the MailSnd example and did
set SmtpCl
11 matches
Mail list logo