> how did you find what you needed to add to the DLL source? Well, see msdn http://msdn.microsoft.com/en-us/library/ms736646%28v=VS.85%29.aspx So to get rid of the new error message add the function to tapi32.spec file and tapi.c, in a similar way like i did with the other function. good luck!