You can use the Register DLL function as you do in ProcessNet (VSTA). The only difference is that you can register only ProcessNet General DLLs with this function.
More:
Step to make the ProcessNet General function for Register DLL
Step to Register ProcessNet General function