moussathiandoum
June 7th, 1999, 07:38 AM
Is it possible to copy data from a BYTE * pointer
to a CByteArray ?
How?
to a CByteArray ?
How?
|
Click to See Complete Forum and Search --> : problem of conversion moussathiandoum June 7th, 1999, 07:38 AM Is it possible to copy data from a BYTE * pointer to a CByteArray ? How? ChrisD June 7th, 1999, 09:05 AM copyArray(BYTE* pByte, int nSize, CByteArray& byteArray) { byteArray.SetSize(nSize); memcpy(byteArray.GetData(), pByte, nSize); } HTH, Chris codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |