开发者

Failed Using C# To start TASM

开发者 https://www.devze.com 2023-03-14 03:33 出处:网络
Thanks before, i experienced some problem. I\'m on pro开发者_C百科ject working on my Assembly IDE. I use TASM for the compiler. My C# Code fro compiling is this :

Thanks before, i experienced some problem. I'm on pro开发者_C百科ject working on my Assembly IDE. I use TASM for the compiler. My C# Code fro compiling is this :

void Compile(string file){
    ProcessStartInfo pInfo = new ProcessStartInfo("tasm.exe",file);
    Process.Start(pInfo);
}

But i dont know why, when i open TASM with this code. TASM only show a blank black screen. Any suggestions ?


Try this:

void Compile(string file){
    Process.Start("tasm.exe",file);
}

That seems more inline with the examples given here:

http://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.aspx

I'm assuming 'file' is the full path to the assembly source file you want to assembly.

0

精彩评论

暂无评论...
验证码 换一张
取 消