Well.. I have no idea how to make a DLL.

How would I make one?

And how would I import it to 3DGS?