Author Topic: The anatomy of a working 64 bit MASM DLL  (Read 2832 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 10583
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
The anatomy of a working 64 bit MASM DLL
« on: July 24, 2016, 05:35:02 PM »
This shows how to build a working DLL in 64 bit MASM. The example shows manually how to set the stack space and load the registers into the first 4 arguments of a high level procedure. It also has a low level procedure that does not use the stack at all which has lower overhead than a stack frame based proc.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

TWell

  • Member
  • ****
  • Posts: 743
Re: The anatomy of a working 64 bit MASM DLL
« Reply #1 on: July 25, 2016, 07:39:09 PM »
The Old New Thing here

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 10583
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: The anatomy of a working 64 bit MASM DLL
« Reply #2 on: July 25, 2016, 08:25:38 PM »
Thanks Tim, it tells me that doing it manually is a lot safer.  :P
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy: