flat assembler
Message board for the users of flat assembler.
![]() |
Did it work for you? | ||||||||||||||
|
||||||||||||||
Total Votes : 4 |
Author |
|
asmdemon 29 Mar 2004, 23:04
Hello All
![]() I was browsing the net and found a demo in Masm on how to run a program without using an import table. I took it to the next level, but for starters, i modified the template example. I was wondering if you would test it and tell me if it worked under your windows environment. OS: and YES/NO I'm testing if i can statically define locations(which is what i'm testing) or dynamically locate them in memory to do such a program(which is in the masm's example). Thanx in advanced.
_________________ It is better to be on the right side of the devil than in his path. |
|||||||||||
![]() |
|
roticv 30 Mar 2004, 13:51
asmdemon wrote: Hello All No you cannot. I guess that masm example is a bad example. This is because the kernel32.dll size is not consistent across all the 9x/nt. It will increase in size as the dll grows in size, so the address might also vary according to the service packs. Also it is mapped to different address for different OS. f0dder is right, you need to import at least a function in windows 2k, if not the exe will not run and no error will pop up. This issue does not happen in XP though, currently have no explanatiion for the weird behaviour |
|||
![]() |
|
asmdemon 30 Mar 2004, 17:31
thanx all, the masm example does a search in memory to locate the functions; i just wanted to see if this static way was portable... the answer: NO
But, i will now port the other example and will return with that in a new thread. ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.