News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Recent posts

#31
Assembly discussions / Re: Enumerating top level wind...
Last post by TimoVJL - December 03, 2025, 01:16:10 PM
Empty lines should avoid too.
Also wsprintf give count of chrs to print text, so it can be used too.
WriteFile / WriteConsole works well with wsprintf.
#32
Assembly discussions / Enumerating top level windows
Last post by Vortex - December 02, 2025, 10:00:00 PM
Here is a quick example :

include     EnumWnd.inc

.data

f1          db '%s',13,10,0

.data?

buffer      db 128 dup(?)
buffer2     db 128 dup(?)

.code

start:

    invoke  EnumWindows,ADDR EnumWndProc,0
    invoke  ExitProcess,0
   

EnumWndProc PROC hwnd:DWORD,lParam:DWORD

    invoke  GetWindowText,hwnd,ADDR buffer,64
    invoke  wsprintf,ADDR buffer2,ADDR f1,ADDR buffer
    invoke  StdOut,ADDR buffer2
    mov     eax,1
    ret

EnumWndProc ENDP

END start
#33
Assembly discussions / Re: Assigning a string to a re...
Last post by Vortex - December 01, 2025, 08:43:53 PM
Here is the 64-bit version.
#34
General discussion / Re: Pellesc site down?
Last post by italofutura - December 01, 2025, 03:06:56 PM
Thank you John Z
#35
General discussion / Re: Pellesc site down?
Last post by John Z - December 01, 2025, 02:51:09 PM
Hi italofutura,

Yes down -

However see this post if you need something -

https://forum.pellesc.de/index.php?topic=11679.msg41652#msg41652


John Z
#36
General discussion / Pellesc site down?
Last post by italofutura - December 01, 2025, 02:38:54 PM
The URL I used http://www.smorgasbordet.com/pellesc/

winget can also not install
#37
Feature requests / Re: _chsize_s
Last post by TimoVJL - December 01, 2025, 12:27:56 PM
check  _chsize64() and make a define for it.
#38
Feature requests / Re: RichEdit 4.1
Last post by TimoVJL - December 01, 2025, 12:11:13 PM
Also a "RICHEDIT60W" might be a good option, as there is a free version of dll for downloading.
Some richedit dlls have only some additional COM features.
Windows 10 and 11 have it already ?

#39
Feature requests / _chsize_s
Last post by John Z - December 01, 2025, 12:09:05 PM
Would you consider adding a _chsize_s ?  When compiling the latest miniz I ran across this being used.

I'm also a bit confused about struct __stat64  vs. struct _stat64 (/GX option) miniz uses the double underscore. 

I modified the sources to make miniz compile and work under V13 with a few __POCC__ checks so no show stoppers - just throwing out there -

John Z
#40
Feature requests / Re: RichEdit 4.1
Last post by John Z - December 01, 2025, 12:05:00 PM
Thanks Pelle,

Balanced definitely... ;)


John Z