Jump to content
Tuts 4 You
Sign in to follow this  
starzboy

Newbie Help

Recommended Posts

starzboy

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

Share this post


Link to post
mia

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.

Share this post


Link to post
starzboy

ER....MIA WHAT CONFIGURATION !

can you please explain yours....!

Edited by starzboy (see edit history)

Share this post


Link to post
mia

Check your PM.

Share this post


Link to post
starzboy

thaz miz but it dosent work !

same damn error !

Share this post


Link to post
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

Share this post


Link to post
Wizwar67

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. :)

Share this post


Link to post
starzboy

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 !

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post

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
Sign in to follow this  
×
×
  • Create New...