السلام عليكم ورحمة الله تعالى وبركاته
#include<Windows.h>
#include<iostream>
int main(){
MessageBox(0, L"", L"", 0);
char hello[] = "Hello";
char world[] = "world";
FARPROC Ms = GetProcAddress(GetModuleHandle(L"user32.dll"), "MessageBoxA");
__asm {
push 0
mov eax, offset world
push eax
mov eax, offset hello
push eax
push 0
call Ms
pop ebx
pop ebx
pop ebx
pop ebx
}
}
الخطاء Error 1 error C2415: improper operand type
ممكن طريقة اصلاح هذا الخطاء