|
|
|
date: Thu, 10 Jul 2008 06:31:14 -0700,
group: microsoft.public.platformsdk.shell
back
Re: Problem about the "shellexecute" difference between XP and Vis
Sorry for the inconvenience I caused.
In fact, my code is really simple.
ShellExecute(NULL, NULL, strMailTo, NULL, SW_SHOW);
I'm quite sure that on both XP and VISTA the strMailTo is of the right format.
But when outlook is activated if the strMailTo string is of the format
"mailto:?subject=......", I alway get a mess in outlook on VISTA.
But it works fine on XP system.
Thanks for your attention.
"David Lowndes" wrote:
> >I've got to write a program which should support windows unicode.
> >I use shellexecute to call the default "mailto" program, so that I can send
> >mail with the default windows mail application.
> >The program runs well on XP.
> >But when we come to Vista, I can see various unrecognizable characters
> >appear on my outlook.
> >When I debug into the program, the program runs write before the
> >shellexecute call.
> >But after shellexecute is called, the characters I set as the title and
> >content of my email come to a mess.
> >But when we use the same string on IE, the content in outlook seems right.
> >I wonder if anyone happens to know the cause of the problem.
>
> You'll need to show a code example that illustrates the problem you're
> seeing.
>
> Dave
>
date: Thu, 10 Jul 2008 08:04:01 -0700
author: Kun Niu
|
|