3 ms·
That will only work on x64 I believe. x86 requires the this pointer to be passed in register ECX [0] [0]: https://docs.microsoft.com/en-us/cpp/cpp/thiscall htt
by sebazzz 8y ago
That will only work on x64 I believe. x86 requires the this pointer to be passed in register ECX [0]
[0]: https://docs.microsoft.com/en-us/cpp/cpp/thiscall https://docs.microsoft.com/en-us/cpp/cpp/thiscall
- zamalek 8y agoI studied calling conventions too long ago, but wasn't ECX (registers and then stack, in general) stdcall on Windows? I could stand to absolute correction there, just curious.