flat assembler
Message board for the users of flat assembler.
Index
> High Level Languages > Programs without runtime in VS2005 Goto page Previous 1, 2, 3 |
Author |
|
revolution 08 Apr 2018, 11:30
vivik wrote: How can I import kernel32 functions by ordinal? |
|||
08 Apr 2018, 11:30 |
|
DimonSoft 08 Apr 2018, 11:43
vivik wrote: How can I import kernel32 functions by ordinal? This link https://msdn.microsoft.com/en-us/library/e7tsx612.aspx says something about .def files, where are they in vs2005? What should I change in project options? I’ll just say here that importing by ordinals is strongly discouraged by Microsoft due to the compotibility problems that do arise in this case. |
|||
08 Apr 2018, 11:43 |
|
vivik 08 Apr 2018, 13:42
do they arise, or they only might arise?
|
|||
08 Apr 2018, 13:42 |
|
revolution 08 Apr 2018, 13:53
Isn't "might arise" enough? You have no guarantees. Why risk it? What is there to gain?
|
|||
08 Apr 2018, 13:53 |
|
vivik 09 Apr 2018, 09:19
>They do.
Examples? |
|||
09 Apr 2018, 09:19 |
|
DimonSoft 09 Apr 2018, 12:46
vivik wrote: >They do. It’s like the first link in Google: StackOverflow question with accepted answer containing an example. Explanation of why this may happen whenever anything changes, by Raymond Chen. |
|||
09 Apr 2018, 12:46 |
|
vivik 09 Apr 2018, 12:53
Oh, 99% of functions in kernel32.dll have different ordinals between windows vista and windows 7. Thanks.
|
|||
09 Apr 2018, 12:53 |
|
VEG 09 Apr 2018, 15:48
Why not Visual C++ 2017? It also allows to write programs without runtime or with msvcrt.dll as runtime (with some limitations, of course). As the result small executables which work on Windows XP+ without additional external libraries are possible.
And yes, Visual Studio 2017 Community Edition is free, and it is similar to Visual Studio 2017 Professional. |
|||
09 Apr 2018, 15:48 |
|
DimonSoft 09 Apr 2018, 19:19
VEG wrote: Why not Visual C++ 2017? It also allows to write programs without runtime or with msvcrt.dll as runtime (with some limitations, of course). As the result small executables which work on Windows XP+ without additional external libraries are possible. <OffTop>The same applies to FASM, by the way. Except that FASM is not limited to WinXP+, not even limited to Windows. People tend to use tools that are larger than all the software they will write in their whole lives and most features of which they do not use anyway. Why do such people consider assembly programmers strange? </OffTop> |
|||
09 Apr 2018, 19:19 |
|
vivik 12 Apr 2018, 05:11
>Why not Visual C++ 2017?
My computer was made around 2005, even vs2010 lags. On the other hand, vs2005 works quite fast, 4 separate windows can work simultaniously. Compilation could be faster though, edit and continue takes 10 seconds to finish. vs2010 actually was bearable. I think it only took too much time to start, but after that it was more or less fine. I don't quite remember. |
|||
12 Apr 2018, 05:11 |
|
Goto page Previous 1, 2, 3 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.