On 14 May 2014 10:19, Nikolay Sivov bunglehead@gmail.com wrote:
Yes, I tested that some time ago, and double-checked just now. Method like this:
HRESULT method([in, optional] float arg, [in] float arg2);
produces midl error 2090:
.\test_tlb.idl(44) : error MIDL2090 : optional parameters must come after required parameters : [ Procedure 'method' ( Interface 'Iiface' ) ]
A pointer type would perhaps have been more interesting than float, but I guess I'll remove the "optional" attributes then.