Creating a RadASM project from existing sources.
------------------------------------------------
Here I will use masm examples. Other programming languages should work in a simular way.
Creating a RadASM project from sources in C:\masm32\examples\exampl01\3dframes
------------------------------------------------------------------------------
In this folder there are two source files, 3dframes.asm and rsrc.rc.
This means that it is a 'Win32 App' type project.
From RadASM File menu select New Project.
Select Assembler: masm
Select Project Type: Win32 App
Set Project Name to: 3dframes
Set Project Description to: 3dframes (or whatever you want)
Set Projects Folder to: C:\masm32\examples\exampl01
Click Next>
Do NOT select any template.
Click Next>
Make shure you uncheck the File Creation.
You might want to create the Bak folder.
Click Next>
Click Finish
You will get a warning: Folder exists. Create project anyway?
Click Yes
You should now have an empty project opened.
From RadASM Project menu select Add Existing / Files.
In the Add Existing Files dialog select Files Of Type: All Files
While holding Ctrl key click on 3dframes.asm and rsrc.rc
Click Open
This will add 3dframes.asm and rsrc.rc to the project.
By default RadASM wants the resource script to have a name identical to the project name.
You can choose to rename rsrc.rc to 3dframes.rc or use Project / Main Project Files
and change 3dframes.rc to rsrc.rc and 3dframes.res to rsrc.res
You are now ready to build the project.
Adding a new project type: Empty make.bat
-----------------------------------------
In masm.ini change the following:
[Project]
Type=Win32 App,Console App,Dll Project,Ocx Project,LIB Project,NMAKE Project,Win32 App (no res),Dos App,Dos App (.com),Driver (.sys),Empty make.bat
In masm.ini add the following:
[Empty make.bat]
Files=0,0,0,0,0
Folders=1,0,0
MenuMake=0,0,0,1,1,1,1,0,0,0
;x=FileToDelete/CheckExistsOnExit,
;(O)utput/(C)onsole/0,Command,
;MakeFile1[,MakeFile2[,MakeFile3...]]
1=0
2=0
3=5,O,make.bat
4=0,0,,5
5=0
6=0
7=0,0,"$E\OllyDbg",5
Creating a project with a .bat file to build the project.
---------------------------------------------------------
To ilustrate this create a build.bat file in C:\masm32\examples\exampl01\comctls with the following content
rc /V rsrc.rc
ml /c /coff /Cp /nologo comctls.asm
link /SUBSYSTEM:WINDOWS /RELEASE /VERSION:4.0 comctls.obj rsrc.res
Creating a RadASM project from sources in C:\masm32\examples\exampl01\comctls
------------------------------------------------------------------------------
In this folder there are two source files, comctls.asm and rsrc.rc.
There is also a build.bat file used to build the project.
This means that it is a 'Empty make.bat' type project.
From RadASM File menu select New Project.
Select Assembler: masm
Select Project Type: Empty make.bat
Set Project Name to: comctls
Set Project Description to: comctls (or whatever you want)
Set Projects Folder to: C:\masm32\examples\exampl01
Click Next>
Do NOT select any template.
Click Next>
Make shure you uncheck the File Creation.
You might want to create the Bak folder.
Click Next>
Click Finish
You will get a warning: Folder exists. Create project anyway?
Click Yes
You should now have an empty project opened.
From RadASM Project menu select Add Existing / Files.
In the Add Existing Files dialog select Files Of Type: All Files
While holding Ctrl key click on comctls.asm and rsrc.rc
Click Open
This will add comctls.asm and rsrc.rc to the project.
Now you can choose to rename build.bat to make.bat or use Project Options and change:
Link: 5,O,make.bat to 5,O,build.bat
You are now ready to build the project.
KetilO
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
radasm2.2.1.3 (1369个子文件)
debug.a 10KB
RadDbg.a 814B
fbCall.api 728KB
masmApiCall.api 351KB
cppCall.api 351KB
fpCall.api 351KB
fasmApiCall.api 321KB
goasmApiCall.api 299KB
masmApiConst.api 172KB
fasmApiConst.api 172KB
fbWord.api 166KB
masmApiStruct.api 108KB
cppStruct.api 108KB
fpStruct.api 108KB
nasmApiStruct.api 108KB
goasmApiStruct.api 108KB
hlaStruct.api 108KB
hlaStruct.api 108KB
fbConst.api 102KB
cppConst.api 102KB
fpConst.api 102KB
tasmApiCall.api 64KB
nasmApiCall.api 64KB
hlaCall.api 64KB
hlaCall.api 64KB
goasmApiConst.api 62KB
cppLibC.api 29KB
hlaWord.api 25KB
hlaWord.api 25KB
cppWord.api 25KB
fpWord.api 25KB
bcetWord.api 25KB
fbStruct.api 21KB
masmApiWord.api 17KB
goasmApiWord.api 16KB
masmType.api 10KB
tasmApiStruct.api 9KB
masmMessage.api 8KB
fasmMessage.api 8KB
cppMessage.api 8KB
fpMessage.api 8KB
fasmApiStruct.api 8KB
goasmMessage.api 7KB
nasmApiConst.api 7KB
hlaConst.api 7KB
hlaConst.api 7KB
tasmApiConst.api 7KB
nasmMessage.api 4KB
hlaMessage.api 4KB
hlaMessage.api 4KB
fbMessage.api 4KB
tasmMessage.api 4KB
fpType.api 565B
cppType.api 359B
nasmApiWord.api 236B
fbType.api 225B
fasmApiWord.api 19B
tasmApiWord.api 19B
DragProp.Asm 9KB
Debug.Asm 8KB
TrapEx.asm 5KB
conversions.asm 5KB
bitRAKE_MACROS.asm 5KB
WinDlg.Asm 4KB
TasmTest.Asm 4KB
IShellLink.asm 3KB
WebCam.Asm 3KB
Dialog.asm 3KB
Other.asm 2KB
FPUDump.asm 2KB
HexDump.asm 2KB
R_001a.asm 2KB
TestFasm.Asm 2KB
MMXDump.asm 1KB
Win32.Asm 1KB
DialogBox.Asm 1KB
DialogProc.asm 936B
TestDLL.Asm 857B
FlagDump.asm 831B
Spy.asm 798B
Simple.Asm 504B
10(1).Asm 375B
Rad1BA(1).asm 375B
10.Asm 363B
RestoreRegs.asm 318B
SaveRegs.asm 230B
CTEXT.asm 183B
abs.asm 153B
szText.asm 93B
return.asm 49B
m2m.asm 48B
10(2).Asm 0B
WinRes.Bas 10KB
CustomCtrlTut.Bas 7KB
GridDemo1.Bas 3KB
Window.Bas 3KB
FBTabStrip.Bas 2KB
Spr.Bas 2KB
VideoPlayer.Bas 2KB
FBAddin.Bas 2KB
共 1369 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14
资源评论
codefox
- 粉丝: 34
- 资源: 27
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功