Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to detect the memory information in windows platform? Pin
HansonDavid5-Sep-06 2:25
HansonDavid5-Sep-06 2:25 
GeneralRe: How to detect the memory information in windows platform? Pin
Hamid_RT5-Sep-06 2:57
Hamid_RT5-Sep-06 2:57 
AnswerRe: How to detect the memory information in windows platform? Pin
gregdolley4-Sep-06 22:01
gregdolley4-Sep-06 22:01 
GeneralRe: How to detect the memory information in windows platform? Pin
HansonDavid5-Sep-06 2:22
HansonDavid5-Sep-06 2:22 
QuestionC++ Client with Ruby on Rails server: Where to start? Pin
dy134-Sep-06 16:31
dy134-Sep-06 16:31 
QuestionMultiLangual Problem Pin
nilesh.gawade4-Sep-06 15:29
nilesh.gawade4-Sep-06 15:29 
AnswerRe: MultiLangual Problem Pin
Waldermort4-Sep-06 19:23
Waldermort4-Sep-06 19:23 
QuestionRe: MultiLangual Problem Pin
nilesh.gawade5-Sep-06 0:27
nilesh.gawade5-Sep-06 0:27 
Hi am Accepting one string from user in one edit box and display it in another edit box after conversion. For conversion I am using code page 50222.
The code is as follow.

OnXyzBtnClick()
{
CHAR *multibyte_buff= NULL;
CString str = _T("");
TCHAR *unicode_string = NULL;
int unicode_size = 0;
int multibyte_size = 0;
DWORD error_code = 0;

GetDlgItem(IDC_EDIT_SHIFTJIS)->GetWindowText(str);
_bstr_t bstr = str;
multibyte_buff = bstr;

multibyte_size = MultiByteToWideChar(50222,NULL,multibyte_buff,-1,unicode_string,0);
error_code = GetLastError();
unicode_string = new TCHAR [multibyte_size];
MultiByteToWideChar(50222,NULL,multibyte_buffmultibyte_size,unicode_string,multibyte_size);
error_code = GetLastError();
str = unicode_string;
GetDlgItem(IDC_EDIT_UNICODE)->SetWindowText(str);
}
Questionserial enumeration Pin
drequinox4-Sep-06 11:07
drequinox4-Sep-06 11:07 
AnswerRe: serial enumeration Pin
XPointer4-Sep-06 17:47
XPointer4-Sep-06 17:47 
GeneralRe: serial enumeration Pin
drequinox5-Sep-06 1:36
drequinox5-Sep-06 1:36 
AnswerRe: serial enumeration Pin
Hamid_RT4-Sep-06 22:42
Hamid_RT4-Sep-06 22:42 
QuestionDLL project does not produce lib or exp files Pin
User 5826194-Sep-06 10:47
User 5826194-Sep-06 10:47 
AnswerRe: DLL project does not produce lib or exp files Pin
prasad_som4-Sep-06 18:42
prasad_som4-Sep-06 18:42 
Questionusing PictureBox Pin
Semion_N4-Sep-06 9:06
Semion_N4-Sep-06 9:06 
AnswerRe: using PictureBox Pin
Nader Elshehabi4-Sep-06 9:46
Nader Elshehabi4-Sep-06 9:46 
GeneralRe: using PictureBox Pin
Semion_N4-Sep-06 9:55
Semion_N4-Sep-06 9:55 
GeneralRe: using PictureBox Pin
Nader Elshehabi4-Sep-06 11:11
Nader Elshehabi4-Sep-06 11:11 
GeneralRe: using PictureBox Pin
Semion_N4-Sep-06 18:20
Semion_N4-Sep-06 18:20 
GeneralRe: using PictureBox Pin
Semion_N5-Sep-06 2:54
Semion_N5-Sep-06 2:54 
QuestionVirtual List View advanced question….?# can u help pls? Pin
Cy#4-Sep-06 8:15
Cy#4-Sep-06 8:15 
AnswerRe: Virtual List View advanced question….?# can u help pls? Pin
Michael Dunn4-Sep-06 9:13
sitebuilderMichael Dunn4-Sep-06 9:13 
GeneralRe: Virtual List View advanced question….?# can u help pls? Pin
Cy#4-Sep-06 9:33
Cy#4-Sep-06 9:33 
Questionincludes MFC Pin
amzeus4-Sep-06 8:12
amzeus4-Sep-06 8:12 
AnswerRe: includes MFC Pin
Cedric Moonen4-Sep-06 8:29
Cedric Moonen4-Sep-06 8:29 

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.