Im using a LB_GETTEXTLEN to get the length on of the string but how do i make the buffer ?

VB Code:
  1. [b]{ADDED}
  2.     char *sBuf = "";
  3. int iList;
  4. int iSel;
  5. int iSel2;
  6.                            
  7. iSel = ::SendMessage(list,LB_GETCURSEL,0,0);
  8. iSel2 = ::SendMessage(list,LB_GETTEXTLEN,iSel,0);
  9.  
  10. ::SendMessage(list,LB_GETTEXT,iSel,sBuf);
  11.  
  12. //  iList = ::GetWindowTextLength(list);
  13. //  ::GetWindowText(list,sBuf,iList);
  14.  
  15. ::SetWindowText(edit,sBuf);[/b]