未处理 System.EntryPointNotFoundException
Message="无法在 DLL“Rasapi32.dll ”中找到名为“RasEnumConnectionsA ”的入口点。"
Source="asdl"
TypeName="" [DllImport("Rasapi32.dll ", EntryPoint = "RasEnumConnectionsA ",
SetLastError = true)] internal static extern int RasEnumConnections
(
ref RASCONN lprasconn, // buffer to receive connections data
ref int lpcb, // size in bytes of buffer
ref int lpcConnections // number of connections written to buffer
); nRet = RAS.RasEnumConnections(ref lprasConn, ref lpcb, ref
lpcConnections); --此处调用时抛出的异常
Message="无法在 DLL“Rasapi32.dll ”中找到名为“RasEnumConnectionsA ”的入口点。"
Source="asdl"
TypeName="" [DllImport("Rasapi32.dll ", EntryPoint = "RasEnumConnectionsA ",
SetLastError = true)] internal static extern int RasEnumConnections
(
ref RASCONN lprasconn, // buffer to receive connections data
ref int lpcb, // size in bytes of buffer
ref int lpcConnections // number of connections written to buffer
); nRet = RAS.RasEnumConnections(ref lprasConn, ref lpcb, ref
lpcConnections); --此处调用时抛出的异常
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货