PHP Code:
BOOL pmRetrieveComboText (HWND hWndCombochardest)
{
    
UINT idx;        //current index
    
UINT    len;    //length of index text
    
charret '\0';        //the value to return

    
idx SendMessage (hWndComboCB_GETCURSELNULLNULL);
    
len SendMessage (hWndComboCB_GETLBTEXTLENidxNULL);

    if ((
idx == -1) || (len == -1))        return 0;

    
ret = new char[len 1];    //allocate the necessary memory

    //fill the allocated array with the item text
    
SendMessage (hWndComboCB_GETLBTEXTidx, (LPARAMret);
    
dest ret;

    
delete[] ret
    return 
TRUE;

why wont this function change dest? i basically wanna to pass a char* by reference, but it doesm't change anything...can anyone help?
thanks