flat assembler
Message board for the users of flat assembler.
Index
> High Level Languages > I compiled dll in VisualStudio 2019 and get 10 kb. |
Author |
|
Roman 12 Dec 2020, 10:50
How i can get small size dll about 2 kb ?
And can i grab only one function from DLL ? Last edited by Roman on 13 Dec 2020, 12:43; edited 1 time in total |
|||
12 Dec 2020, 10:50 |
|
bitshifter 13 Dec 2020, 09:32
you can dynamically load individual library functions at runtime
is that what you meant? _________________ Coding a 3D game engine with fasm is like trying to eat an elephant, you just have to keep focused and take it one 'byte' at a time. |
|||
13 Dec 2020, 09:32 |
|
ProMiNick 13 Dec 2020, 11:32
10 kb for HLL is very nice result if it is not interpretative DotNet program(for DotNet it is catastroficaly large result).
first of all HLL initialization, creating couples(up to 10) of critical sections, RTTI information, there present checking of windows version even if don`t needed, and many many other checks, may be inited internal memory manager even if it not needed... so 10 kb for HLL is nice. (if it is not .NET exe). |
|||
13 Dec 2020, 11:32 |
|
Roman 13 Dec 2020, 12:41
bitRAKE wrote:
Like as in IDA pro copy code of concrete function. But do this in special program. Cut because i need 3 kb code one function, but not all 13 kb dll ! |
|||
13 Dec 2020, 12:41 |
|
revolution 13 Dec 2020, 12:44
Oh, so you want to use VS2019 to make some binary code, and then disassemble it and use the code as your own in asm files?
You don't even need to create the DLL. You can ask VS to output just the intermediate assembly text. |
|||
13 Dec 2020, 12:44 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.