开发者

Failed Using C# To start TASM

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜