News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

probleme in messagebox

Started by ayoub, May 03, 2016, 09:48:21 PM

Previous topic - Next topic

ayoub

Hi
I have a probleme in messagebox i thank the first null
Thank

qWord

MREAL macros - when you need floating point arithmetic while assembling!

Vortex

Hi ayoub,

You could check Iczelion's tutorial. This one is about message boxes :

http://win32assembly.programminghorizon.com/tut2.html

ayoub


mabdelouahab

Quoteinvoke MessageBox,NULL,addr msgtext,addr msgtitle, NULL
Quoteinvoke MessageBox,NULL,addr MsgText,addr msgtitle, NULL

jj2007

As mabdelouahab noted, assembler code is case-sensitive. Perhaps you should also find the menu entry where you can change the colour settings of your editor.

hutch--

If you are going to post code, make sure it IS code, posting an image means the person who tries to help you has to read it from the image and re-type it to test it.

TWell

Easier to read.386
.model flat,stdcall

option casemap:none

includelib kernel32.lib
includelib user32.lib

include kernel32.inc
include user32.inc
include windows.inc

.data
    MsgText db "hello world",0
    msgtitle db "my fist msg box",0
.code
Main:
invoke MessageBox,NULL,addr msgtext,addr msgtitle,NULL
end Main

ayoub