Click here to Skip to main content
15,925,255 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Difference Debugging F5 and Ctrl F5 Pin
krmed16-Jul-09 7:18
krmed16-Jul-09 7:18 
GeneralRe: Difference Debugging F5 and Ctrl F5 Pin
prithaa16-Jul-09 18:05
prithaa16-Jul-09 18:05 
QuestionNeed guidance and proposal of design and implementation for an e-voting (electronic voting) system Pin
bahareh65515-Jul-09 23:14
bahareh65515-Jul-09 23:14 
AnswerRe: Need guidance and proposal of design and implementation for an e-voting (electronic voting) system Pin
Stuart Dootson16-Jul-09 0:50
professionalStuart Dootson16-Jul-09 0:50 
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 

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.