Einzelnen Beitrag anzeigen

Kas Ob.

Registriert seit: 3. Sep 2023
347 Beiträge
 
#2

AW: NASM - Erstellung eines Win64-Bit Images für die Verwendung mit mehr als 2 Funcca

  Alt 29. Okt 2023, 15:28
Hi,

You said you are calling one export, but i don't see any export, your code is showing the message in the DllEntry, that DLL doesn't have any export at all.

Point on that code:
1) You are complicating things for yourself with all the handmade headers, just don't !, NASM will do it all for your, and it will be right.
2) Use export section instead of building the export and import sections by hand.
3) Please search the net for a good example like this post https://forum.nasm.us/index.php?topic=2365.15 and you can read the code in that thread, that how a everyday DLL should like, writing the PE manually is dangerous zone and easily can blocked by AntiViruses, writing a DLL in NASM or MASM is way easier and shorter.


There is many resources for NASM on the internet and they have a very nice forum too.

Hope that helps, and good luck.
Kas
  Mit Zitat antworten Zitat