flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > Static import of Windows programs |
Author |
|
macomics 07 Aug 2021, 19:25
A self-compiled Windows Batch file for creating include files for static function import to FASM.
Last edited by macomics on 01 Apr 2023, 09:10; edited 4 times in total |
|||||||||||
07 Aug 2021, 19:25 |
|
Overclick 25 Aug 2021, 16:22
Why don't you just include it to your projects?
Code: include 'MyMacros or code or whatever functions you need.INC' |
|||
25 Aug 2021, 16:22 |
|
Overclick 25 Aug 2021, 17:24
Why don't you use import section to add missing/required functions from any library you want?
|
|||||||||||||||||||
25 Aug 2021, 17:24 |
|
Overclick 25 Aug 2021, 17:28
You can include your "plug-in" to
section '.idata' import data readable writeable or use my multisection macro precent somewhere in this thread |
|||
25 Aug 2021, 17:28 |
|
macomics 25 Aug 2021, 17:46
There is a slightly different principle here. The import section is also used, but you have someone's library and some functions in it. The macro lists them from an already compiled library and forms it as a plug-in file added to the import section.
|
|||
25 Aug 2021, 17:46 |
|
macomics 01 Apr 2023, 09:09
Updated the source text of the importer. Now it works fine with PE64 libraries.
|
|||
01 Apr 2023, 09:09 |
|
FlierMate2 01 Apr 2023, 15:02
macomics wrote: Updated the source text of the importer. Now it works fine with PE64 libraries. Nice, you are practically already doing a PEDump tool. The output of my cpuname.dll generated by your export.cmd. Code: ; fasm1 autogenerated include ; builder script: "export.cmd" ; library cpuname.DLL, "C:\FASMW\cpuname.DLL" import cpuname.DLL,\ GetCpuName, "GetCpuName",\ IsAvxSupported, "IsAvxSupported" |
|||
01 Apr 2023, 15:02 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.