Wenn ich meinen Minicode assemblieren will läuft erstmal alles ganz normal, bis zum Linken. Dann sagt der: ungültige bibliothek.
Was tun?
Moderatoren: crack, Krüsty, Marwin
.386
.MODEL FLAT, STDCALL
option casemap : none
include \masm32\include\windows.inc
includelib \masm32\lib\user32.lib
MessageBoxA equ _MessageBoxA
ExiProcess equ _ExitProcess
.stack
.data
WindowTitle db "Meine Messagebox" , 0
WindowMessage db "Klick mich bis ich verschwinde", 0
.code
start:
push MB_OKCANCEL
push offset WindowTitle
push offset WindowMessage
push 0
call MessageBoxA
push 0
call ExitProcess
END start
.386
.MODEL FLAT, STDCALL
option casemap : none
include \masm32\include\windows.inc
include \masm32\include\user32.inc
includelib \masm32\lib\user32.lib
MessageBoxA equ _MessageBoxA
ExiProcess equ _ExitProcess
.stack
.data
WindowTitle db "Meine Messagebox" , 0
WindowMessage db "Klick mich bis ich verschwinde", 0
.code
start:
push MB_OKCANCEL
push offset WindowTitle
push offset WindowMessage
push 0
call MessageBoxA
push 0
call ExitProcess
END start
_MessageBoxA proto :dword,:dword,:dword,:dword
Mitglieder in diesem Forum: 0 Mitglieder