Re: [twsocket] Using TPop3Cli (begin in TWSocket Digest, Vol 127, Issue 9)

2005-08-06 Thread Francois PIETTE
> I have some questions: > > I need DLL like 'AllInOne', how I must organize it? I have 2 problems: > > 1.There is one function entry point in DLL. How can I detect what > OnRequestDone complit session and I can return from DLL funciton? > > 2.And how I must free memory under TPop3Cli after RqType=

[twsocket] Using TPop3Cli (begin in TWSocket Digest, Vol 127, Issue 9)

2005-08-06 Thread Dmitry Andreev
Hello! I have some questions: I need DLL like 'AllInOne', how I must organize it? I have 2 problems: 1.There is one function entry point in DLL. How can I detect what OnRequestDone complit session and I can return from DLL funciton? 2.And how I must free memory under TPop3Cli after RqType==smt

Re: [twsocket] Using TPop3Cli

2005-07-30 Thread Francois PIETTE
the code behind "All in one" button that chain asynch operations. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "??? ???" <[EMAIL PROTECTED]> To: Sent: Saturday, July 30, 2005 5:01 PM Subject: [twsocket] Using TPop3Cli >

Re: [twsocket] Using TPop3Cli

2005-07-30 Thread Wilfried Mestdagh
Hello Äìèòðèé, You have to do next action in OnRequestDone. TPop3Cli is asynchronous doing the work in background while your application can go on with other things to do. Just do a switch (RqType) in the requestdone for the next action. No need for all that sequentinal progrmming :) --- Rgds, Wi

[twsocket] Using TPop3Cli

2005-07-30 Thread Дмитрий Андреев
Hello, I try using TPop3Cli. Code like this don`t working: void MyProc() { ... Pop3Cli->Connect(); WaitForSingleObject(hEvent,Pop3TimeOut); Pop3Cli->User(); WaitForSingleObject(hEvent,Pop3TimeOut); Pop3Cli->Pass(); WaitForSingleObject(hEvent,Pop3TimeOut); ... } void __fastcall TForm1::Pop3Cli1Re