Depends on what type of DLL. Is this built in .NET ? if it is unmanaged code then here is an example otherwise the Answer from Rob will work.
Unmanaged C++ dll example:
using System;
using System.Runtime.InteropServices;
You may need to use DllImport
[DllImport(@"C:CadenceSPB_16.5oolsinmpsc.dll")]
static extern void mpscExit();
or
[DllImport("user32.dll", CharSet = CharSet.Unicode)]
public static extern int MessageBox(IntPtr hWnd, String text, String caption, uint type);
Then each of those are called like this:
// a specific DLL method/function call
mpscExit();
// user32.dll is Microsoft, path not needed
MessageBox(new IntPtr(0), "Test", "Test Dialog", 0);
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…