在MASM32的Qeditor项目选项不工作 [英] Project Options in Qeditor of MASM32 isn't working

查看:343
本文介绍了在MASM32的Qeditor项目选项不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有MASM32和我使用Qeditor。无中,项目工作菜单中的选项。因为如果我点击全部构建什么也没有发生一个例子(没有窗户,没有文件是建立在文件目录,没有任何反应)。

I Have Masm32 and I am using Qeditor. None of the options in Porject menu work. As an example if I click "Build All" nothing happens (no window, no files are build in the file directory, nothing happens).

我有C:\\ MASM32 \\我的道路上斌所以那不是问题。

I have c:\masm32\bin on my path so thats not the problem.

推荐答案

我也用MASM32和,有一阵子,使用Qeditor。我有同样的问题,因为你,而是通过写我自己的批处理文件组装项目克服它。最后,我切换到记事本++编写code和完全消除Qeditor。下面是我写的批处理文件:

I too use MASM32 and, for a while, used Qeditor. I had the same problem as you, but overcame it by writing my own batch file for assembling projects. Eventually I switched to Notepad++ for writing code and eliminated Qeditor completely. Here's the batch file I wrote:

@if not exist %1.rc goto NoResource

  rc /foRes.res %1.rc
  cvtres /machine:ix86 /out:Res.obj Res.res
  del Res.res
  @if errorlevel 1 pause

  ml /c /coff /Fo%1.obj %1
  @if errorlevel 1 pause
  link /SUBSYSTEM:WINDOWS %1.obj res.obj
  @if errorlevel 1 pause
  del %1.obj
  del res.obj

@goto Exit

:NoResource
  ml /c /coff /Fo%1.obj %1
  @if errorlevel 1 pause
  link /SUBSYSTEM:WINDOWS %1.obj
  @if errorlevel 1 pause
  del %1.obj

:Exit

有关我的项目,我将有一个汇编文件 Project.asm 为例。如果我需要一个资源文件,我将它命名为 Project.asm.rc 。当我想组装项目中,我会点击鼠标右键,选择打开方式我的批处理文件。它需要完成剩余的工作。

For my projects I'll have an assembly file Project.asm for example. If I need a resource file I will name it Project.asm.rc. When I want to assemble my project I will right click and "Open With" my batch file. It takes care of the rest.

此外,请确保您的源文件位于C:驱动器的地方。这会使事情变得更容易使用。

Also, make sure your source files are located on the C: drive somewhere. This will make things much easier to work with.

这篇关于在MASM32的Qeditor项目选项不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆