Thunk and ATL Thunk?

Can someone explain to me what Slim is?

and ATL Thunk?

I know that thunk has something to do with vtbl and code execution in order to find the correct function pointer. I'm right?

+3
source share
1 answer

This is a general term for a piece of adapter code that fundamentally changes the runtime environment. I saw that at first it was used during the transition from 16-bit to 32-bit Windows, to resolve code that was run in 16-bit mode, thunk was used to call 32-bit code.

- ATL thunks. , Windows, C, , , , . Thunk ATL, , .

+4

Source: https://habr.com/ru/post/1756424/


All Articles