flat assembler
Message board for the users of flat assembler.
Index
> Main > Structures.. |
Author |
|
revolution 11 Mar 2008, 01:29
FeDeXR wrote: How can I do this? Code: include 'win32ax.inc' wcdata WNDCLASS stdcall MessageBox,0,text,[wcdata.lpszClassName],MB_ICONERROR or Code: include 'win32ax.inc' wcdata WNDCLASS push MB_ICONERROR push [wcdata.lpszClassName] push text push 0 call [MessageBox] |
|||
11 Mar 2008, 01:29 |
|
FeDeXR 11 Mar 2008, 15:21
I know it.. But it is a permanent memory... I am using a temporary memory for all uses..
In C, I used: UCHAR data[512]; // Temp Memory 512 Bytes //... MessageBox(NULL,"Hello",((WNDCLASS *)data)->lpszClassName,MB_ICONERROR); // ... The same MessageBox(NULL,"Hello",((DWORD *)(data+36))[0],MB_ICONERROR); // ... How? |
|||
11 Mar 2008, 15:21 |
|
revolution 11 Mar 2008, 15:25
Code: include 'win32ax.inc' temp_data: rb 512 stdcall MessageBox,0,text,[temp_data+WNDCLASS.lpszClassName],MB_ICONERROR |
|||
11 Mar 2008, 15:25 |
|
FeDeXR 11 Mar 2008, 15:35
ohhhh sorryyy...
push buffer+WNDCLASS.hIcon Works.. I don't know why it didn't work thank you... |
|||
11 Mar 2008, 15:35 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.