C# 调用dephi dll 实例

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace CommunicationManager
{
public class Comm
{
[DllImport("NsHotWatchIntf.dll", EntryPoint = "SUM", CharSet = CharSet.Auto)]
public static extern int SUM(string Number, string HotwatchNum);
}
}

原文地址:https://www.cnblogs.com/armyfai/p/3966875.html