News:

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

Main Menu

Recent posts

#91
Tips & tricks / Re: Useful website for WIndows...
Last post by Vortex - August 19, 2025, 08:58:02 PM
Ciprian Fusa's website :

https://ciprianf.hashnode.dev/
#92
Bug reports / Re: Debugging code that calls ...
Last post by TimoVJL - August 19, 2025, 05:21:22 AM
Example works normally in Window 10 x64 22H2
In same session, second time to open file dialog have to activate debug window and from Debug -> Break to get dialog visible.
#93
Bug reports / Re: Debugging code that calls ...
Last post by John Z - August 19, 2025, 02:32:08 AM
Hi DMac,

Yes very strange - same .exe run on different systems . . . . drastically different results.
Could it be an antivirus tool doing something, I wonder.  At a loss for now since I can't reproduce :( and
I only have one laptop with me - of course ....

Maybe Timo can try the .exe's I posted too.

John Z

#94
Bug reports / Re: Debugging code that calls ...
Last post by DMac - August 19, 2025, 01:27:26 AM
Hi John,

I tried the project you attached.

I get the same strange behavior.  I have screen captured an internal debugger error which might provide some clues.  I also provide a screenshot of the file browser dialog when it hangs.

When this happens I have to reboot the machine to get the dialog working again.

I think I'll forego trying to debug this on the work laptop going forward.
#95
Bug reports / Re: Debugging code that calls ...
Last post by John Z - August 18, 2025, 11:43:53 PM
Got a weird error when the prior message attachment uploaded, so attaching again as well as the error message.

Maybe filename too long shortened it and posted again, no error msg.

John Z
#96
Bug reports / Re: Debugging code that calls ...
Last post by John Z - August 18, 2025, 11:33:14 PM
Hi DMac,

I tried it using the workspace today, again no issue seen.  So I'm posting my compiled version of your program, no changes.  With this you might try to just run the .exe's within the IDE to see if everything run without errors, without a rebuild.  Might be enlightening, hopefully?

23H2 btw..

John Z

traveling in China right now so I don't have access to my windows 7 machine....to see Timo's findings

Get project zip from next post..
#97
Windows questions / Re: common define for testing ...
Last post by Vortex - August 18, 2025, 09:11:14 PM
Hi Timo,

Maybe, the import library msvcrt.lib should be a component of the Pelles C installation.
#98
Bug reports / Re: Debugging code that calls ...
Last post by DMac - August 18, 2025, 07:03:27 PM
Hi John,

I'm on 22H2 also.  However this machine is a work laptop.  There are things IT has configured or are running on it that could perhaps contribute to the problem.  I'll try the test on my home pc and see if I get the same results or if, like Timo, see some strange behavior after several tries.



#99
Bug reports / Re: Debugging code that calls ...
Last post by TimoVJL - August 18, 2025, 09:14:20 AM
In Windows 7 it didn't hang, but trying to open file dialog again, strange behavior  :(
#100
Bug reports / Re: Debugging code that calls ...
Last post by John Z - August 18, 2025, 08:45:54 AM
Hi DMac,

Well so far I've tested the 64 bit version, it worked both with and without debug and I saw no issue.
I did a clean and rebuild and it was the same.

For 32 bit the first run did get a debug error but just cleared it and no system or IDE issue.
I did a clean and rebuild and it worked both in debug and release modes without any issue.

I'm on Windows 23H2 and Pelles C v13  - but I think it is not relevant.
Looks like (so far) you perhaps have some other issue affecting your system/build

I'll try a few more runs, but all looks good so far.  Definitely no IDE hang, reboot, or re-install of Pelles C.

Don't know if this is exactly good news for you - -

John Z

One thing to note, I did not use the workspace - ? Could that have an impact ?