News:

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

Main Menu

Recent posts

#31
General discussion / Re: Pellesc site down?
Last post by Vortex - December 08, 2025, 06:19:27 PM
Hello,

The site is still unavailable :

http://www.smorgasbordet.com/pellesc/
#32
User contributions / Re: Vintage code
Last post by Vortex - December 08, 2025, 06:06:20 PM
The application works fine under Windows 7 Home Premium 64-bit.
#33
User contributions / Re: Vintage code
Last post by John Z - December 08, 2025, 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
#34
User contributions / Re: Vintage code
Last post by John Z - December 08, 2025, 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
#35
User contributions / Re: Vintage code
Last post by John Z - December 08, 2025, 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
#36
User contributions / Re: Vintage code
Last post by Vortex - December 08, 2025, 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
#37
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
#38
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.
#39
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.
#40
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