Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change
Quote from: sinsi on Today at 07:10:13 AMDepends on what you viewed lastFrom the example code in the posted link.
Quote from: sinsi on Today at 07:10:13 AM(yes, I just outed myself as a vb.net user )
Quote from: sinsi on Today at 06:19:27 AMEven worse...Quote from: mabdelouahab on Today at 05:28:44 AMFileSystemWatcherVB.net?
*ducks for cover*
Quote from: FileSystemWatcher_link_from_above...C#
Quote from: jj2007 on January 14, 2025, 09:55:22 PMinclude \masm32\include\masm32rt.inc
myvoke MACRO destination, args:VARARG
Local arg$, isL, isR, push$
arg$ EQU <#>
for arg, <args>
arg$ CATSTR <arg>, <#>, arg$
endm
isL=0
While 1
isR=isL+1
isL INSTR isR, arg$, <#>
IFE isL-isR
EXITM
endif
push$ SUBSTR arg$, isR, isL-isR
push push$
ENDM
call destination
ENDM
.code
MyTest:
mov ecx, [esp+4]
mov edx, [esp+8]
invoke MessageBox, 0, ecx, edx, MB_OK
retn 8
start:
mov edx, offset MyTest
myvoke edx, chr$("Seems to work"), chr$("That's the title")
exit
end start
Quote from: HSE on January 14, 2025, 02:00:46 PMBut that only have sense if all offsets are from procedures with same number and type of arguments. ??Hi HSE!! it's been a long time.
include \masm32\include\masm32rt.inc
myvoke MACRO destination, args:VARARG
Local arg$, isL, isR, push$
arg$ EQU <#>
for arg, <args>
arg$ CATSTR <arg>, <#>, arg$
endm
isL=0
While 1
isR=isL+1
isL INSTR isR, arg$, <#>
IFE isL-isR
EXITM
endif
push$ SUBSTR arg$, isR, isL-isR
push push$
ENDM
call destination
ENDM
.code
MyTest:
mov ecx, [esp+4]
mov edx, [esp+8]
invoke MessageBox, 0, ecx, edx, MB_OK
retn 8
start:
mov edx, offset MyTest
myvoke edx, chr$("Seems to work"), chr$("That's the title")
exit
end start