When i tried to Assemble it in MASAM32 SDK , its giving me errors.
- replace the include etc lines with
include \masm32\include\masm32rt.inc Masm32 has hard-coded paths. That is old-fashioned but very, very efficient. Read the masm32rt.inc file to understand.
In particular:
include \Masm32\include\windows.inc ; correct! path relative to the source's path, no unnecessary SHOUTING, perfect!
INCLUDE C:\Masm32\include\windows.inc ; BAD, assumes that the user uses drive C:
INCLUDE kernel32.inc ; BAD, assumes that the user uses environment variables
- replace num2str with @num2str (3x)
Caballero has used the name of a Masm32 SDK macro for a proc. That won't work, so num2str needs a new name.
Oh, and btw: "its giving me errors" is not an acceptable way to ask for help. You post the exact error messages including the line numbers.