flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > IMPORT32 Problem? |
Author |
|
Reverend 22 Sep 2005, 22:23
It is because ntdll exports some procedures that are words reserved in assembly. I am not 100% percent sure, but I guess it is fdiv, maybe fsin... Check these and try to compile again
|
|||
22 Sep 2005, 22:23 |
|
Tomasz Grysztar 22 Sep 2005, 22:23
One of the labels you try to import from ntdll is an reserved symbol. You can see the "Instruction" field in the fasmw's error report window to check out which one is it exactly.
|
|||
22 Sep 2005, 22:23 |
|
shism2 22 Sep 2005, 23:18
C:\WinAsm\Assemblers\fasm\INCLUDE\macro/import32.inc [31] import [3]:
import label 3? import ntdll,\ PropertyLengthAsVariant,'PropertyLengthAsVariant',\ RtlConvertPropertyToVariant,'RtlConvertPropertyToVariant',\ -------> RtlConvertVariantToProperty,'RtlConvertVariantToProperty',\ So its that one?? Whats wrong with it? |
|||
22 Sep 2005, 23:18 |
|
shism2 22 Sep 2005, 23:30
Ok I used fasmw and it highlighted the whole ntdll.inc as wrong
|
|||
22 Sep 2005, 23:30 |
|
Tomasz Grysztar 23 Sep 2005, 06:24
Look inside the "Instruction" field in the error report dialog window.
|
|||
23 Sep 2005, 06:24 |
|
shism2 23 Sep 2005, 18:30
Ok this is what it shows in the instruction
It highlights both ntdll and import32.inc and in the instruction box is this : if used fabs Do I have to post a screenshot? |
|||
23 Sep 2005, 18:30 |
|
shism2 25 Sep 2005, 15:00
No one can help ME!?
|
|||
25 Sep 2005, 15:00 |
|
decard 25 Sep 2005, 17:25
shism2 wrote: Ok this is what it shows in the instruction From this you can see that fabs is a reserved symbol (it is an instruction). You have to remove a line with this import from ntdll.inc, or (if you really to use fabs function) - change its name: Code: import ntdll,\ (...) fabs_,'fabs',\ |
|||
25 Sep 2005, 17:25 |
|
shism2 26 Sep 2005, 00:18
ya I found that out after lol
Still cant use the apis though.. It gives me access denied |
|||
26 Sep 2005, 00:18 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.