flat assembler
Message board for the users of flat assembler.
Index
> Main > correct this code |
Author |
|
vid 17 Oct 2005, 20:53
if used inside stackframe procedure cahnging EBP (mov ebp,eax) may be problem, try to use ECX or whatever.
|
|||
17 Oct 2005, 20:53 |
|
Ancient One 18 Oct 2005, 03:20
Code: struc sx { .cBytes dd ? .fFixedDisk dd ? .nErrCode dd ? .Reserved1 dd ? .Reserved2 dd ? .szPathName rb 128 } OFSTRUCT sx should be Code: struc OFSTRUCT { .cBytes dd ? .fFixedDisk dd ? .nErrCode dd ? .Reserved1 dd ? .Reserved2 dd ? .szPathName rb 128 } sx OFSTRUCT change Code: invoke OpenFile,file,OFSTRUCT,ebx to Code: invoke OpenFile,file,sx,ebx change spc(0) to just spc. and file is a reserved keyword in fasm. use other name. also it's better to put any reserved (rb, rd, etc) at the end of source. |
|||
18 Oct 2005, 03:20 |
|
redasmm 18 Oct 2005, 15:45
thx
|
|||
18 Oct 2005, 15:45 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.