Robert Shearman rob@codeweavers.com writes:
- memcpy(&cIids, buf, sizeof(USHORT));
- buf += sizeof(USHORT);
- ir = (REMINTERFACEREF*)buf;
- pResults = alloca(cIids * sizeof(HRESULT));
You shouldn't use alloca, it's not portable, plus the space may not be available since the app controls the stack size.