I shall constify subject and body. BTW, the initialisation of address in MAPISendMail() is also a write-strings violation. But it appears that it is redirected before any use. So I shall remove its initialisation, too. Thanks, -- Andy.