How to Build a customized DLL. Connect Amibroker and SPtrader. Novice

Hello everyone, I want to use the DLL plugin to connect Amibroker and Hong Kong software SPtrader to get real-time quotes and buy and sell orders. Does anyone know how to write this DLL? Or is it better to have a ready-made DLL to share with me? thank you very much!