Click here to Skip to main content
15,892,809 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDialog font size problem Pin
DevelopmentNoob15-Jul-09 23:05
DevelopmentNoob15-Jul-09 23:05 
AnswerRe: Dialog font size problem Pin
Michael Schubert15-Jul-09 23:27
Michael Schubert15-Jul-09 23:27 
GeneralRe: Dialog font size problem Pin
DevelopmentNoob16-Jul-09 21:24
DevelopmentNoob16-Jul-09 21:24 
QuestionCreateObject with specific constructor Pin
sangbl15-Jul-09 22:42
sangbl15-Jul-09 22:42 
AnswerRe: CreateObject with specific constructor Pin
Stuart Dootson16-Jul-09 0:46
professionalStuart Dootson16-Jul-09 0:46 
QuestionRe: CreateObject with specific constructor Pin
sangbl16-Jul-09 1:44
sangbl16-Jul-09 1:44 
QuestionANSI to UTF8 (dynamic mem alloc?) Pin
Souldrift15-Jul-09 22:36
Souldrift15-Jul-09 22:36 
AnswerRe: ANSI to UTF8 (dynamic mem alloc?) Pin
CPallini15-Jul-09 22:57
mveCPallini15-Jul-09 22:57 
Souldrift wrote:
nd can´t seem to get it done.

Why?


Souldrift wrote:
The number of bytes used per character vary in UTF8 character set.

Yes, but WideCharToMultiByte is able to tell you how many bytes are required (MSDN [^]):

cbMultiByte [in]

Size, in bytes, of the buffer indicated by lpMultiByteStr. If this parameter is set to 0, the function returns the required buffer size for lpMultiByteStr and makes no use of the output parameter itself.


Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: ANSI to UTF8 (dynamic mem alloc?) Pin
Souldrift16-Jul-09 2:13
Souldrift16-Jul-09 2:13 
QuestionHow to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Ahmad9915-Jul-09 22:31
Ahmad9915-Jul-09 22:31 
AnswerRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Rajesh R Subramanian15-Jul-09 22:34
professionalRajesh R Subramanian15-Jul-09 22:34 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Madhu_Rani24-Jul-09 3:23
Madhu_Rani24-Jul-09 3:23 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Rajesh R Subramanian24-Jul-09 6:13
professionalRajesh R Subramanian24-Jul-09 6:13 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Madhu_Rani26-Jul-09 20:30
Madhu_Rani26-Jul-09 20:30 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Rajesh R Subramanian26-Jul-09 23:27
professionalRajesh R Subramanian26-Jul-09 23:27 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Madhu_Rani27-Jul-09 19:14
Madhu_Rani27-Jul-09 19:14 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Rajesh R Subramanian27-Jul-09 23:55
professionalRajesh R Subramanian27-Jul-09 23:55 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Madhu_Rani28-Jul-09 0:16
Madhu_Rani28-Jul-09 0:16 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Rajesh R Subramanian28-Jul-09 0:32
professionalRajesh R Subramanian28-Jul-09 0:32 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Madhu_Rani28-Jul-09 0:40
Madhu_Rani28-Jul-09 0:40 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
EliottA28-Jul-09 2:41
EliottA28-Jul-09 2:41 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Manas Bhardwaj28-Jul-09 3:19
professionalManas Bhardwaj28-Jul-09 3:19 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
Rajesh R Subramanian28-Jul-09 3:56
professionalRajesh R Subramanian28-Jul-09 3:56 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
EliottA28-Jul-09 3:58
EliottA28-Jul-09 3:58 
GeneralRe: How to access a remote machine from a local machine and perform basic function like execute and close the remote machine's application. Pin
CPallini26-Jul-09 23:49
mveCPallini26-Jul-09 23:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.