I want to add a button in my current Win32 project that allows the user to use their default email client to send an email message. I have it set up like this:
WinExec("explorer \"mailto:aaa@aaa.com?subject=aaa\"");
This works fine, except that it opens up a bogus browser window also.
Does anyone have a better solution for this?
Thanks,
Joe
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
I tried that also, but it doesnt show -any- windows. I also looking into the command line args for explorer/start, but that didnt yield anything useful either.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan