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
Miscellaneous Projects / Re: ScratchPad
Last post by jimg - Today at 05:38:11 AM
Major update in first post.  Hopefully fixed all the bugs with saving settings and defaults.
Also added find/replace capability.
#2
RadAsm IDE Support / Re: RadSTM32 update
Last post by KetilO - January 12, 2025, 03:29:51 PM
Hi

The update attempted to build *.cad files.
You can download the complete bugfix at:
https://sourceforge.net/projects/radasm30/files/RadSTM32/RasSTM32_Update/RadSTM32.zip/download

KetilO
#3
Windows API / Re: Problems trying to use Rea...
Last post by sinsi - January 12, 2025, 03:00:37 PM
My apologies to Timo, I just saw "AI Overview" and 🤬

Point 1 should be directed at Micro$oft.
Points 2 and 3 still stand imo


Now that sync mode is working, time to try async.
#4
Windows API / Re: Problems trying to use Rea...
Last post by sinsi - January 12, 2025, 01:52:18 PM
Quote from: TimoVJL on January 12, 2025, 01:24:54 PM
QuoteIf you opened the file using the short name, you can receive change notifications for the short name.
1. Searching for that quote gives me an "AI Overview"  :rolleyes:.
2. We aren't opening files (unless the AI means directories as well).
3. "can" receive, not "will".

Quote from: NoCforMe on January 12, 2025, 08:47:08 AM"Duh, we just don't know how that code behaves under those circumstances ..."
"The intern who wrote the code in the early 90s also documented it but he now works for Google, so..."
#5
Windows API / Re: Problems trying to use Rea...
Last post by TimoVJL - January 12, 2025, 01:24:54 PM
QuoteIf you opened the file using the short name, you can receive change notifications for the short name.

EDIT:
ReadDirectoryChangesW function (winbase.h)
#6
Windows API / Re: Problems trying to use Rea...
Last post by NoCforMe - January 12, 2025, 08:47:08 AM
Quote from: sinsi on January 12, 2025, 07:22:33 AMHere's another example of rubbish documentation
QuoteIf there is both a short and long name for the file, the function will return one of these names, but it is unspecified which one.

Well, honest, I guess.
But definitely rubbish.

"Duh, we just don't know how that code behaves under those circumstances ..."
#7
Windows API / Re: Problems trying to use Rea...
Last post by sinsi - January 12, 2025, 07:22:33 AM
I couldn't get async to work, probably because I don't know enough about overlapped etc.
Sync in a thread worked much better.

What I found when I used every filter in dwNotifyFilter
 - rename always returned two entries, old name and new name, as expected
 - create new returned one entry
 - delete file returned one entry
 - create via copy returned three entries, but one at a time, one for creation and two for modified (size and time?), probably because of the filter
You always get the name but there's no indication whether it's a file or directory.

That's as far as I got before bedtime :biggrin:

Here's another example of rubbish documentation
QuoteIf there is both a short and long name for the file, the function will return one of these names, but it is unspecified which one.
#8
Windows API / Re: Problems trying to use Rea...
Last post by NoCforMe - January 12, 2025, 06:13:12 AM
OK. Looks like I have a few choices here.
#9
Examples / Re: CodeEdit, the New Year ver...
Last post by HSE - January 12, 2025, 02:59:28 AM
Hi all!

Quote from: jj2007 on January 05, 2025, 03:24:17 AMIt can quickly become complex when macros are nested...

Even if that refer to nested macro expansions, now parser can deal with nested macro declarations. You can build that only with JWAsm family assemblers. An example is mtx.inc file, wich contain Array macros to mimic Basic arrays.

Updated in first post.

Regards, HSE
#10
Windows API / Re: Problems trying to use Rea...
Last post by jj2007 - January 11, 2025, 07:09:24 PM
Using it in synchronous mode in a thread might be the easiest solution. Before returning from the thread, just send yourself a message...