Hi,
Im trying to call functions from inside a DLL, im trying to call MessageBoxA at the moment (user32.dll), but i want to be able to call custom functions from my own C++ DLL.
Please could someone give me an example of how to define the function? I think i have to use 'extern' and 'include'...
I have been running the 16bit version with INTs inside windows in a dos prompt without problems. So if i make it 32bit i take it i have to call 32bit functions and cant use INTs? is this correct. So would i have to import functions from C++ libarys or something.
Thanks for that mate ive managed to get it working. I have another question though. If im to make this 32bit, how do you display a string correctly?
Using:
mov ah, 09h
mov dx, OFFSET t_msga
int 21h
That does not work when i put the program through a 32 bit assembler, how can i fix this? if i...
Hi,
Please could someone tell me why the below code wont work, im trying to add two numbers together and display the result (both numbers are entered by the user). Im new to this, but as far as i can see ive done it correctly but it just outputs a random character that means nothing to me. Also...
Hey guys,
Can someone explain this to me:
10000h in bytes is 4+4+4+4+4 = 20bytes yes? and because thers no 20bit reigster it goes in a 32bit dword. I think i understand that.
But then with this code as an example:
arrayD DWORD 10000h, 20000h
mov eax, arrayD ; eax = 10000h
mov eax...
Hey guys,
Ive just started learning assembly, not for anything in particular but i like the language and just want to make some general things in it so maybe one day i can use it as inline code in a higher level language.
Anyway i dont quite understand the idea of the code being processor...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.