You were trying to explain that you didn't want to issue a timer. Why?
The whole extension process relys on Windows messages flowing between Pegasus Mail and the extension, so you have to have a message handler. I use Delphi and when I define my procedures and functions, I identify those that are to be recognised as part of the windows message loop,
ie to receive a message: procedure fminit(var msg: tmessage); message wm_fm_init;
and to send back to Pegasus Mail use: sendmessage(pegparent,wm_f_getbasedir,128, longint(@zts[0]));
Martin
<p>You were trying to explain that you didn't want to issue a timer. Why?</p><p>The whole extension process relys on Windows messages flowing between Pegasus Mail and the extension, so you have to have a message handler. I use Delphi and when I define my procedures and functions, I identify those that are to be recognised as part of the windows message loop,</p><p> ie to receive a message:&nbsp;&nbsp;&nbsp; procedure fminit(var msg: tmessage); message wm_fm_init; </p><p>and to send back to Pegasus Mail use: sendmessage(pegparent,wm_f_getbasedir,128, longint(@zts[0])); </p><p>Martin
</p>