[OLE #50] IRemUnknown Proxy/Stub Implementation

Alexandre Julliard julliard at wine.dyndns.org
Tue Jan 25 05:01:47 CST 2005


Robert Shearman <rob at 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.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list