The answer from TcKs gave me an idea, thus i tried following:
system("mailto:thomas.muster@domainname.com?subject=Test");
and
STARTUPINFO info = {sizeof(info)};
PROCESS_INFORMATION processInfo = {0};
开发者_高级运维 if (!::CreateProcess(NULL, "mailto:thomas.muster@domainname.com",
NULL, NULL, FALSE, 0, NULL, NULL, &info, &processInfo))
{
MessageBox("Couldn't invoke Standard Mail Client");
return;
}
But neither the first nor the second form did work. Do you have any simple solution?
Thanks!
Try the ShellExecute function: http://support.microsoft.com/kb/224816
精彩评论