Jump to content
Tuts 4 You

Newbie Help


starzboy

Recommended Posts

i read the tut by gopitt and when i assemble(go all)

.386
.model flat, stdcall
option casemap:none include windows.inc
include kernel32.inc
include user32.inc
includelib kernel32.lib
includelib user32.lib.data
MsgBoxCaption db "Simple MessageBox Program",0
MsgBoxText db "Hello World!",0 .code
start:
invoke MessageBox, NULL, addr MsgBoxText, addr MsgBoxCaption, MB_OK
invoke ExitProcess,0
end start

i get an error

\Masm32\Bin\rc /v /I"\Masm32\Include" "D:\Program Files\WinAsm\Samples\Dialog\Dialog.rc"

Make error: Cannot create process.

\Masm32\Bin\ML /c /coff /Cp /nologo /I"\Masm32\Include" "D:\Program Files\WinAsm\Samples\Dialog\Dialog.asm"

Make error: Cannot create process.

Make finished. 2 error(s) occured

whats rong...plz explin

Link to comment

I don't have any problem with source you provide... It works fine..... I think the problem may be in the configurations of winasm...Check once again.

Link to comment
Guest Tundra

starzboy, are you making a new project for each program you write?

because you seem to be including "D:\Program Files\WinAsm\Samples\Dialog\Dialog.rc" and "D:\Program Files\WinAsm\Samples\Dialog\Dialog.asm" in your project, two files completely unnecessary for what you are trying to do

Link to comment

I had the same problem when i done gopitt's tut. Here is what I did to solve the problem. D/L MASM, and reinstall it. That fixed mine, maybe it will fix yours. :)

Link to comment

there was a lamer's problem !

i for got to keep my eyes open and made a stupid mistake !

thanx for all the help !

got it workin now !

many thanx to Lena Aunty for the tip !

Link to comment
futureproof

Personally i had this problem.I had installed Masm in C:/Masm and I was saving the files in another HDD..When i saved on Documents and Settings everything was alright

Link to comment
Guest VirusDotNET

do this it works on masm32

.486
.model flat, stdcall
option casemap:noneinclude \masm32\include\windows.inc
include \masm32\include\kernel32.inc
includelib \masm32\lib\kernel32.lib
include \masm32\include\user32.inc
includelib \masm32\lib\user32.lib.data
MsgBoxCaption db "Simple MessageBox Program",0
MsgBoxText db "Hello World!",0.code
start:
invoke MessageBox, NULL, addr MsgBoxText, addr MsgBoxCaption, MB_OK
invoke ExitProcess,0
end start
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...