Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Wed Jun 06, 2007 7:36 pm    Post subject: Help Reply with quote

Sportskid300 made a TuT on ASM in ms section and put a link to MASM32
i downloaded and when u open QEditor he said put this in:
include \masm32\include\masm32rt.inc ; (1)

.code ; (2)

start: ; (3)

call main ; (4)

exit ; (5)

main proc ; (6)

print chr$("Hello world!",10) ; (7)
inkey "Enter any key to continue...." ; (Cool
ret ; (9)

main endp ; (10)

end start ; (11)

then go save as and name it waht you want and then go to Project and then click Console Link & assemble so i did that then CMD comes up and says fatal error i was talking to sportskid300 on msn but he had to go anyone help please?

Edit:Link to sportkids300 ASM TuT http://www.forum.cheatengine.org/viewtopic.php?t=92760

_________________


Last edited by Mussy69 on Wed Jun 06, 2007 8:05 pm; edited 1 time in total
Back to top
View user's profile Send private message AIM Address
TheSorc3r3r
I post too much
Reputation: 0

Joined: 06 Sep 2006
Posts: 2404

PostPosted: Wed Jun 06, 2007 8:00 pm    Post subject: Reply with quote

What was the fatal error? Generally one needs to know a problem to solve it.
_________________


Don't laugh, I'm still learning photoshop!
Back to top
View user's profile Send private message
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Wed Jun 06, 2007 8:02 pm    Post subject: Reply with quote

k h/o il redo it so it comes up with the error and il put it here
Edit: H/O thats the wrong source code but they both come up with the errors but diff 1's il giv u the source code you supposed to use and il tell you the error
2nd Edit: i edited my first post thats the real source code supposed to be used

3rd Edit: Assembling: C:\masm32\first.asm
C:\masm32\first.asm(14) : error A2046: missing single or double quoatation mark in string

it says this like 50 times it used to be diff used to be a fatal error

_________________
Back to top
View user's profile Send private message AIM Address
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Wed Jun 06, 2007 8:49 pm    Post subject: Reply with quote

someones lazy....
Code:
include \masm32\include\masm32rt.inc

_________________
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Wed Jun 06, 2007 8:52 pm    Post subject: Reply with quote

why not? makes it a whole lot more readable also.
Back to top
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Wed Jun 06, 2007 8:54 pm    Post subject: Reply with quote

anyways it should assemble fine... or you can just use the mc.exe command and the link command.... read up on more masm stuff.
_________________
Back to top
View user's profile Send private message
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Wed Jun 06, 2007 9:00 pm    Post subject: Reply with quote

sponge wrote:
someones lazy....
Code:
include \masm32\include\masm32rt.inc

thats what mine says and whos lazy?

Edit: its always diff error jus then i put this in:
include \masm32\include\masm32rt.inc ; (1)

.code ; (2)

start: ; (3)

call main ; (4)

exit ; (5)

main proc ; (6)

print chr$("Hello world!",10) ; (7)
inkey "Enter any key to continue...." ; (Cool
ret ; (9)

main endp ; (10)

end start ; (11)

cmd comes up with this
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997. All rights reserved.

Assembling: C:\masm32\First.asm
Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved

LINK : fatal error LNK1104: cannot open file "\masm32\lib]masm32.lib"
_
Link error
Press any key to continue . . .




and then i press any key to continue and it jus closes instead of compiling
someone help please?

2nd Edit: when it said missing masm32.lib i copy others then pasted em then renamed em to the missing after that it kept coming up with other missing .lib files so then i put em in there then after all teh files were in there cmd comes up with another error saying
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997. All rights reserved.

Assembling: C:\masm32\First.asm
Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved

First.obj : error LNK2001: unresolved external symbol _StdOut04
First.obj : error LNK2001: unresolved external sumbol _Wait_key00
First.exe : fatal error LNK1120: 2 unresolved externals
_
Lin error
Press any key to continue . . .


same thing again if i press any button it closes cmd.exe

help please

_________________


Last edited by Mussy69 on Wed Jun 06, 2007 9:19 pm; edited 1 time in total
Back to top
View user's profile Send private message AIM Address
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Wed Jun 06, 2007 9:15 pm    Post subject: Reply with quote

Code:


include \masm32\include\masm32rt.inc  ; (1)

.code  ; (2)

start:  ; (3)

   call main  ;  (4)

exit  ;  (5)

main proc   ;  (6)

   print chr$("Hello world!",10)  ; (7)
   inkey "Enter any key to continue...."  ;  (8)
   ret  ; (9)

main endp  ;  (10)

end start  ;  (11)

ml.exe /c /coff first.asm
link.exe /subsystem:windows first.obj

_________________
Back to top
View user's profile Send private message
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Wed Jun 06, 2007 9:34 pm    Post subject: Reply with quote

sorry im not really smart with coding go on msn please add me my email adress is [email protected] im on now waiting for you thanks
Edit: Sponge could you please add me now?
2nd Edit: im gonna try FASM

_________________
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites