flat assembler
Message board for the users of flat assembler.
Index
> Main > struggling with some C to FASM |
Author |
|
r22 18 Jun 2006, 23:54
int statwidths[] = {100, -1}
SendMessage(hStatus, SB_SETPARTS, sizeof(statwidths)/sizeof(int), (LPARAM)statwidths); Code: .data statwidth dd 100, -1 .code push statwidths ;;address of the array [statwidths] would give 100 push 2 ;;length of statwidth in ints assuming int is 32bit could be 16 push SB_SETPARTS ;;constant push dword[hStatus] ;;value of hStatus call SendMessage |
|||
18 Jun 2006, 23:54 |
|
moriman 19 Jun 2006, 00:40
Quote:
hmmmm. I thought that would have been... .data statwidth dd 100 dup -1 Oh well Thanks r22 |
|||
19 Jun 2006, 00:40 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.