News:

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

Main Menu

Recent posts

#11
User contributions / Re: Vintage code
Last post by Vortex - Yesterday at 06:06:20 PM
The application works fine under Windows 7 Home Premium 64-bit.
#12
User contributions / Re: Vintage code
Last post by John Z - Yesterday at 04:23:15 PM
Update :

Runs just fine under windows 7 Home as well as Windows 7 Pro.

No errors, but I had nothing scheduled to see.

Run as ADMIN.

John Z
#13
User contributions / Re: Vintage code
Last post by John Z - Yesterday at 03:08:58 PM
Well here is an/the issue -

C:\Users\John>AT
The AT command has been deprecated. Please use schtasks.exe instead.

The request is not supported.

C:\Users\John>

However AT /? still lists the old commands -

John Z
#14
User contributions / Re: Vintage code
Last post by John Z - Yesterday at 01:46:16 PM
Saw that too - here is what I found:

AI Overview
Error Code 50, "Conflicting I/O operation is running," usually means another process is using a disk/device, often seen with external drives on Mac (file system issues, sleep settings) or Windows (driver/network stack problems), or within apps like Steam (download conflicts)
. Solutions involve restarting the PC, running as administrator, checking/updating drivers, disabling antivirus, resetting network settings, or addressing specific file system/permission issues on Mac

For Windows Users (Event ID 50)

    Hardware Failure: Check system logs for underlying hardware issues (especially disk/network).
    Network/Driver Issues: Roll back network drivers or run network reset commands.
    Filter Drivers: Other software (antivirus, backup tools) can interfere; perform a clean boot (msconfig) to find the culprit.
----
Seems more likely that Windows has changed something from the 'good ole days' that now creates the error -

I did try many 'compatibility' modes in Win 11 24H2 to no avail.  Also tried as Admin - no improvement
Did not try disabling Antivirus yet though....

John Z
#15
User contributions / Re: Vintage code
Last post by Vortex - Yesterday at 10:19:30 AM
Thanks, here are the error messages while trying to run the application on Windows 11 2024 H2 :

Conflicting i/o operation is running.
Error code : 50
#16
User contributions / Re: Vintage code
Last post by John Z - December 07, 2025, 09:48:23 PM
Not too sad though; can't let language be a a showstopper for a 'classic' :)

Here is the program translated to English for the C part and the .rc part.
Original Finnish version is still there, just 'excluded'.  To get that version
just 'exclude' the _EN versions and include the original as Timo adjusted for
Pelles C V13, then build again.


John Z
#17
User contributions / Vintage code
Last post by TimoVJL - December 07, 2025, 07:43:36 PM
TWinAT from 2005 and now compiled with Pelles c v13.
Sadly texts in Finnish language, as was created for company's IT persons.
Twenty years ago created and used until 2021 factory closed.

QuoteNetScheduleJobEnum function (lmat.h)

[NetScheduleJobEnum is no longer available for use as of Windows 8. Instead, use the Task Scheduler 2.0 Interfaces.
#18
Tips & tricks / Re: Testing Console
Last post by Vortex - December 06, 2025, 09:50:11 PM
Hi Timo,

Your test is not meaningless. Curiosity is what keeps us alive.
#19
Assembly discussions / Re: Enumerating top level wind...
Last post by Vortex - December 06, 2025, 09:46:31 PM
Reading Timo's and John's messages, here is the new version :

include    EnumWnd.inc

.data

ZeroVal    dd 0
ZeroPtr    dd OFFSET ZeroVal
msg        db '%s',13,10,0

.data?

buffer      db 256 dup(?)
buffer2    db 256 dup(?)

.code

start:

    invoke  EnumWindows,ADDR EnumWndProc,0
    invoke  ExitProcess,0

EnumWndProc PROC hwnd:DWORD,lParam:DWORD

    invoke  GetWindowText,hwnd,ADDR buffer,255
    mov    edx,OFFSET msg
    test    eax,eax
    cmovz  edx,DWORD PTR [ZeroPtr]
    invoke  printf,edx,ADDR buffer
    mov    eax,1
    ret

EnumWndProc ENDP

END start
#20
Work in progress / Re: New resizer discussion
Last post by John Z - December 06, 2025, 03:15:30 PM
Here is an early look at adding 'Auto Font Sizing' to the resizer library.

Still has some, maybe many, issues to work out but is a working preview.  Just don't know how much interest there would be in having this feature.  Is nice for visually impaired as full screen window has big text.

To test click the "Toggle Auto Font" button in lower right, then drag the window larger or smaller to see effects. Toggling 'Button resize' will also inhibit font resize for buttons since the button is not larger.

A few obvious issues: not working with custom control, Owner Draw sometimes double vision, restore of original is not yet implemented well.  Not implemented globally yet so not for the child windows in this tester.

Just the tester at this point - no sources

John Z

Still just same three functions -