starzboy Posted June 14, 2006 Posted June 14, 2006 i read the tut by gopitt and when i assemble(go all).386.model flat, stdcall option casemap:none include windows.incinclude kernel32.inc include user32.incincludelib 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,0end starti 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) occuredwhats rong...plz explin
mia Posted June 14, 2006 Posted June 14, 2006 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.
starzboy Posted June 15, 2006 Author Posted June 15, 2006 (edited) ER....MIA WHAT CONFIGURATION !can you please explain yours....! Edited June 15, 2006 by starzboy
starzboy Posted June 15, 2006 Author Posted June 15, 2006 thaz miz but it dosent work !same damn error !
Guest Tundra Posted June 15, 2006 Posted June 15, 2006 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
Wizwar67 Posted June 15, 2006 Posted June 15, 2006 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.
starzboy Posted June 16, 2006 Author Posted June 16, 2006 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 !
futureproof Posted June 22, 2006 Posted June 22, 2006 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
Guest VirusDotNET Posted June 24, 2006 Posted June 24, 2006 do this it works on masm32.486.model flat, stdcalloption casemap:noneinclude \masm32\include\windows.incinclude \masm32\include\kernel32.incincludelib \masm32\lib\kernel32.libinclude \masm32\include\user32.incincludelib \masm32\lib\user32.lib.dataMsgBoxCaption db "Simple MessageBox Program",0MsgBoxText db "Hello World!",0.codestart:invoke MessageBox, NULL, addr MsgBoxText, addr MsgBoxCaption, MB_OK invoke ExitProcess,0end start
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now