lets say i have this:
Code:'//Make BUFFER have 10 nulls unsigned char* BUFFER = (unsigned char*)malloc(10); memset(BUFFER, 0x0, 10); '//make a cstring and buffer it CString MyStr; MyStr.GetBufferSetLength(10); '//Now how to i insert BUFFER to MyStr with out doing a loop and using MyStr.SetAt() ? MyStr.ReleaseBuffer(0); free(BUFFER);


Reply With Quote