I understand that ST have some difficulties when working with Delphi controls, so I want to use the Extension Kit.
However, the only examples available are in C/C++. Also here on the forum when I was able to find many posts suggesting the use of EK, none of them contains any hints as of how it can be done.

I have succesfully called the functions from assist.dll to register and unregister with the ST agent. But I am not able to define and use RegisterClassFun() correctly, I have troubles with declaring the right parameters.

Can anybody post a general example in Delphi with registering at least one nontrivial Delphi function and dll mapping of apropriate functions?
Or at least direct me to some materials...

Many thanks in advance