Re: [8/9] setupapi: implement SetupPromptForDiskA by wrapping around W version

2009-02-18 Thread Ricardo Filipe
2009/2/19 Juan Lang > Hi Ricardo, > > +DialogTitleW = MultiByteToUnicode(DialogTitle, CP_UTF8); > You should be using CP_ACP here, not CP_UTF8. Same applies to > remaining character conversions. In fact, you could use strdupAtoW > instead. > --Juan > > that is something i should have asked.

Re: [8/9] setupapi: implement SetupPromptForDiskA by wrapping around W version

2009-02-18 Thread Juan Lang
Hi Ricardo, +DialogTitleW = MultiByteToUnicode(DialogTitle, CP_UTF8); You should be using CP_ACP here, not CP_UTF8. Same applies to remaining character conversions. In fact, you could use strdupAtoW instead. --Juan