AppContext ctx = null;
String wsnaddr = "WSNADDR=//***.***.1**.**:****";
TypedTPINIT tpinfo = new TypedTPINIT();
tpinfo.flags = TypedTPINIT.TPMULTICONTEXTS; try
{
Utils.tuxputenv(wsnaddr);
ctx = AppContext.tpinit(tpinfo);
}
catch (Exception ex)
{
string error = ex.Source + ":" + ex.Message; //libwscdnet:TPESYSTEM - internal system error
return;
} try
{
ctx.tpterm();
}
catch (Exception ex)
{
string error = ex.Source + ":" + ex.Message;
}我已经添加了libwscdnet.dll引用,请教报这个异常的原因
String wsnaddr = "WSNADDR=//***.***.1**.**:****";
TypedTPINIT tpinfo = new TypedTPINIT();
tpinfo.flags = TypedTPINIT.TPMULTICONTEXTS; try
{
Utils.tuxputenv(wsnaddr);
ctx = AppContext.tpinit(tpinfo);
}
catch (Exception ex)
{
string error = ex.Source + ":" + ex.Message; //libwscdnet:TPESYSTEM - internal system error
return;
} try
{
ctx.tpterm();
}
catch (Exception ex)
{
string error = ex.Source + ":" + ex.Message;
}我已经添加了libwscdnet.dll引用,请教报这个异常的原因
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货