Thanks, I never thought to create them as sub-VIs, I was just trying something real quick to build a TCP/IP server into a dll and had cases for read and write, open and close rather than subs. The problem was that my dll had 7 parameters and was only one function, this solves it all. Thank you.