问题描述
System.Runtime.InteropServices.COMException”类型的未经处理的异常在001.exe中发生其他信息:异常来自HRESULT:0x80040013请教各位大神怎么解决?用的是vs2013
解决方案
解决方案二:
usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;usingSTATCONNECTORCLNTLib;usingStatConnectorCommonLib;usingSTATCONNECTORSRVLib;namespace_001{classProgram{staticvoidMain(string[]args){objectO1;intn=20;StatConnectorSc1=newStatConnector();Sc1.Init("R");Sc1.SetSymbol("n1",n);Sc1.Evaluate("x1<-n1");O1=Sc1.GetSymbol("x1");Console.WriteLine(O1);}}}这是代码,请各位大神帮帮忙
时间: 2025-01-21 11:54:02