flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 17 Feb 2024, 18:41
Technically: You can statically link MSVCRT if you want to. There are tools that will link DLLs into EXEs.
Legally: MS doesn't permit any alternate use of MSVCRT. Although some countries have different rules, might pay to check before you decide. |
|||
![]() |
|
Aditya J 18 Feb 2024, 04:47
Wait dont all C++ Exes bundle runtime with them? How is that legal then?? cuz they dont require any such DLL
Alternatively can i use UCRTBASE.DLL as it is present on all systems |
|||
![]() |
|
revolution 18 Feb 2024, 08:33
Providing a separate DLL during installation is permitted by many licenses (that is the whole point of the DLL). Statically linking it into an exe in not permitted by many licenses. Check the license for each DLL to see what it allows.
Specifically for MSVCRT, MS doesn't allow static linking. But as mentioned above, your country (or the end user's country) might make it legal. |
|||
![]() |
|
AsmGuru62 18 Feb 2024, 13:22
Interesting... so that "import" statement in FASM -- is it static linking or dynamic?
I use that for MSVCRT for, like, decades. |
|||
![]() |
|
revolution 18 Feb 2024, 13:29
"import" is dynamic linking. It links a DLL file at runtime.
Static linking doesn't need any import because the code is already linked in the exe at compile time. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.