Hello, I have this code:
.data
xd db "jjjj",0
.code
; «««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
LibMain proc instance:DWORD,reason:DWORD,unused:DWORD
.if reason == DLL_PROCESS_ATTACH
push dword ptr ds:[ xd]
call Teste
mov eax, TRUE ; return TRUE so DLL will start
.elseif reason == DLL_PROCESS_DETACH
.elseif reason == DLL_THREAD_ATTACH
.elseif reason == DLL_THREAD_DETACH
.endif
ret
LibMain endp
Teste proc T
invoke MessageBox, NULL, addr T, addr T, MB_OK
ret
Teste endp
But, the messagebox, after the "jjj" text, there is some weird characters.
How to fix it?