Hi.
Is possible register object method by specify not pointer to method, but their index in vtable?
For example, I dynamically bind to OLE (COM) objects, and not have nor function address, nor index in vtable at compile time, and have it only at runtime.
I found in sources constant "ICC_VIRTUAL_THISCALL" and implementing of call by index in vtable in "CallSystemFunctionNative", but in all sources I was found only "case ICC_VIRTUAL_THISCALL:" and "if (something == ICC_VIRTUAL_THISCALL)", but none of "something=ICC_VIRTUAL_THISCALL".
And if it is possible, can I have "ICC_VIRTUAL_STDCALL" ?
In OLE objects, regardless of compiler, calling convention is STDCALL, obect pointer send as first arg, and first pointer in object is pointer to vtable.