pop up a TCHAR[1024]

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



hi,
i have

TCHAR buff[1024] = "testing";
MessageBox(hWnd, buff, TEXT("caption"), MB_OK);

it only output the first character of buff, how can i output the whole
string?

regards,
Paul


.



Relevant Pages

  • Re: pop up a TCHAR[1024]
    ... thanks all your advice and suggestions, ... best regards, ... it only output the first character of buff, how can i output the whole ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Problem in performance of calling a dialog in DLL(Windows prog
    ... Memory leaks information would be reduced! ... The 'buff' struct is not required at DLL interface, ... I rewrote the 'buff' struct storing an array of CString's inside, ... you make your life easier using robust container and string ...
    (microsoft.public.vc.mfc)
  • Re: Get a list of strings from a C DLL
    ... Dim Buff As String ... ReDim varBuffer(0 To varNumOfElements - 1) ...
    (microsoft.public.vb.general.discussion)
  • Re: Problem in performance of calling a dialog in DLL(Windows programm
    ... The 'buff' struct is not required at DLL interface, so I moved it away from public DLL header and put it in private DLL implementation file ... you make your life easier using robust container and string classes instead of TCHAR* raw pointers. ...
    (microsoft.public.vc.mfc)
  • Re: Problem in performance of calling a dialog in DLL(Windows prog
    ... The 'buff' struct is not required at DLL interface, ... I rewrote the 'buff' struct storing an array of CString's inside, ... you make your life easier using robust container and string ...
    (microsoft.public.vc.mfc)