to call a dll from your program you need to include the System.Runtime.InteropServices classes
try:
using System.Runtime.InteropServices
[DllImport("name.dll")]
private static extern int FunctionNameInDll();
JustSmith
2009-09-02 18:22:52