News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Recent posts

#1
The Workshop / Re: How to synchronize a datab...
Last post by zedd151 - Today at 07:40:18 AM
Quote from: sinsi on Today at 07:10:13 AMDepends on what you viewed last
From the example code in the posted link.  :tongue:




Quote from: sinsi on Today at 07:10:13 AM(yes, I just outed myself as a vb.net user :badgrin:)

Blasphemy!  :biggrin:
#2
The Workshop / Re: How to synchronize a datab...
Last post by sinsi - Today at 07:10:13 AM
Happy to be the pedant  :biggrin:
Depends on what you viewed last (yes, I just outed myself as a vb.net user :badgrin:)
You cannot view this attachment.
#3
The Workshop / Re: How to synchronize a datab...
Last post by zedd151 - Today at 06:45:21 AM
Quote from: sinsi on Today at 06:19:27 AM
Quote from: mabdelouahab on Today at 05:28:44 AMFileSystemWatcher
VB.net?

*ducks for cover*

Even worse...
Quote from: FileSystemWatcher_link_from_above...C#

Otherwise known as C Sharp. Might as well be Python.
:badgrin:
#5
The Campus / Re: invoking an offset procedu...
Last post by LordAdef - Today at 05:57:48 AM
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

Hi Johen!
I loved the "myvoke" name !
#6
The Campus / Re: invoking an offset procedu...
Last post by LordAdef - Today at 05:38:42 AM
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.

Sure, but it fits well with the design I intend to implement. And it would not be expensive to define more protos to fulfill other procs. 
#8
Showcase / Re: Pirates Launcher
Last post by elC - January 14, 2025, 11:08:00 PM
Hi
The second beta of Pirates Launcher.

Main updates:
- Auto scan on startup removed
- Only one button, the red one, to execute a new scan
- Faster response to abort scanning <ESC>
- At least one file filter must be applied
- Exact user search string is full working
- Doubleclick to open a file or folder from the favourite list
- Build in blacklist now working
- Blacklist and Favlist are limited to 255 entries, should be enough
- Button to open the shortcut folder, to edit, copy, delete or rename shortcuts
- Service dropdown control removed and replaced with buttons, for faster access
- Enhanced status bar messages, to provide more information
- Fixed: Option to open the URL, changing cursor to hand on mouseover
- Toggle the main window size if clicking the author area in the title
- Shortcut creation moved to a thread
- Code cosmetic
- Minor bug fix

Updated screenshot and download link in the first post.

elC

#9
The Campus / Re: invoking an offset procedu...
Last post by jj2007 - January 14, 2025, 09:55:22 PM
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
#10
The Workshop / Re: How to synchronize a datab...
Last post by NoCforMe - January 14, 2025, 08:50:49 PM
I'll have to look into using that.