private void makeInstance(string compilerPath, string driverPath) { im = new InstanceMarker(); im.LoadCompilerDll(compilerPath); im.LoadDriverDll(driverPath); compiler = im.GetCompiler("MoonDriverDotNET.Compiler.Compiler"); driver = im.GetDriver("MoonDriverDotNET.Driver.Driver"); if (compiler == null || driver == null) { throw new Exception("インスタンスの生成に失敗しました。"); } }
private void makeInstance(string compilerPath, string driverPath, string preprocessorPath) { im = new InstanceMarker(); im.LoadCompilerDll(compilerPath); im.LoadDriverDll(driverPath); im.LoadPreprocessorDll(preprocessorPath); compiler = im.GetCompiler("mucomDotNET.Compiler.Compiler"); driver = im.GetDriver("mucomDotNET.Driver.Driver"); preprocessor = im.GetPreprocessor("M98DotNETcore.M98"); if (compiler == null || driver == null || preprocessor == null) { throw new Exception("インスタンスの生成に失敗しました。"); } }