MIDL2415

The documentation lists this name without a value.

Documented in Win32

Compiler Errors

the return type is not supported for 64-bit when using [decode] Procedures with floating point or structure/union return types are not supported in 64-bit mode when performing data serialization (using [ encode ] and/or [ decode ]). This is related to the old style -Oi interpreter and data serializer not being supported on 64-bit platform. Please see the description of MIDL2414 for more information. The following example demonstrates this error: roo.idl: double GetDouble(); roo.acf: [decode] GetDouble(); The following is advised as a work-around for both new and old interfaces. Use an [out] parameter to hold the result instead of using a return value: roo.idl: void GetDouble([out] double *result); //top level pointer is a [ref] pointer. roo.acf: [decode] GetDouble(); Note that this solution is fully backward-compatible on wire, as the wire representation of a [ref, out] pointer or a double is the same as that of a double.