Author Topic: Calling Macro  (Read 69 times)

ragdog

  • Member
  • ****
  • Posts: 554
Calling Macro
« on: February 08, 2018, 11:20:47 PM »
Hello

I have a solution found from Daves post
http://masm32.com/board/index.php?topic=3861.msg40676#msg40676

Code: [Select]
FUNC40 TYPEDEF PROTO :QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PFUNC40 TYPEDEF Ptr FUNC40
.data?
MyProcedur PFUNC40 ?

.code
invoke GetProcAddress,hBassDll,chr$ ("MyFunc")
.if (rax)
  mov MyProcedur, rax
  invoke MyProcedur,0,0,0,0,0


But a function in Jwasm/Uasm or Macro would be nice.

Regards,
« Last Edit: February 09, 2018, 06:42:19 PM by ragdog »