From: Alex P. <pes...@ma...> - 2011-03-31 09:41:48
|
On 03/31/11 02:07, Adriano dos Santos Fernandes wrote: > On 30-03-2011 18:35, Vlad Khorsun wrote: >>> stdcall is incompatible with our approach to upgradeInterface. >> Why ? I see no reason for it. >> > We add methods to vtable, which expect single "status" parameter, but > user may call this methods with many parameters. Only cdecl would handle > this. To be precise - added functions may have no parameters at all, nothing prevents them to throw exception instead of filling status vector. This is a choice of one who is calling upgradeInterface(). And certainly yes - only cdecl calling convention may be used here. |