News:

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

Main Menu

Recent posts

#91
Graphics programming / Re: Building Graphics Librarie...
Last post by kyga116 - June 12, 2025, 06:29:29 PM
After I posted this I was able to get GLFW and GLEW working with the binaries from their respective websites. But I still want to try to build them from source eventually.

I'm not sure if these work completely yet, I was just able to create window so far. I am getting a bunch of warnings saying that I have to use option /Ze if I want to use the dllimport function (required by GLFW). I'm assuming /Ze is a compiler option, but I'm not sure how to use it.
#92
Chit-Chat / Re: Pelle Orinius
Last post by TimoVJL - June 12, 2025, 03:31:26 PM
Thanks to all, who was able to test release candidates.
Naturally my small part was to check features, that i was just interested.
Some tests was also for POAsm, as i see it better than masm in simple things.
I didn't find any usable test packages for C language for testing.
#93
Chit-Chat / Re: Pelle Orinius
Last post by Vortex - June 11, 2025, 07:34:28 PM
Hello,

Pelle did a lot of work to make a stable release. Many thanks to him.
#94
Graphics programming / Re: Building Graphics Librarie...
Last post by TimoVJL - June 11, 2025, 01:26:02 PM
If GLEW comes with project files for msvc, try to import it with Import Microsoft Visual Studio Solution...
#95
Graphics programming / Re: Building Graphics Librarie...
Last post by John Z - June 11, 2025, 10:18:44 AM
Hi kyga116,

No cmake but there is a pomake to use.

Possible GLEW, GLFW help for you here:
https://forum.pellesc.de/index.php?topic=6861.msg25864#msg25864

and maybe here:
https://forum.pellesc.de/index.php?topic=5402.msg20740#msg20740

There are also threads, some fairly recently, on batch file building using Pelle C

John Z
#96
Graphics programming / Building Graphics Libraries?
Last post by kyga116 - June 10, 2025, 09:57:09 PM
What is the preferred method of building GLFW and GLEW on Pelles C?

From my limited research, it sounds like cmake is not compatible with Pelles, and I'd rather stay away from any GNU tools if possible (for personal reasons). On this forum I've seen installers being made for these libraries, how is this being accomplished?
#97
Chit-Chat / Re: Pelle Orinius
Last post by kyga116 - June 10, 2025, 04:54:07 PM
I'm guessing the release of v13.00 means all is OK?
#98
User contributions / Re: Hint_SA (Standalone)
Last post by Marco - June 09, 2025, 11:05:32 AM
Very interesting, especially when you need to quickly retrieve information about a particular API.

Thanks John.
#99
User contributions / Hint_SA (Standalone)
Last post by John Z - June 08, 2025, 12:45:52 PM
Seems like the Hint add-in would be also useful to more people if it was a standalone program,
then it could be used with MASM, C, or anything else needing some win API information.

So....here is Hint_SA, basically the same functionality as the Hint Add-in but with some differences to accommodate the standalone requirement.

Works well installed as a Pelles C IDE 'tool' too.

Three files are needed two of the three are included in the attached Just_Hint_SA.7z.  Win32.chm needs to be added to the Hint_SA program directory, it is too big to include here.

The Hint_SA_project.zip is the entire project, but without win32.chm as well.  It uses SQLite3 so if it does not compile you'll need to get those files.  In the project zip the db3 is 7z'ed so it would fit.  Un-7z it before use.

Hopefully useful,

John Z

Update: removed old sources and exe, get the newer sources and program below.
#100
Assembly discussions / Re: Assigning a string to a re...
Last post by Vortex - June 04, 2025, 12:23:59 PM
Macros split to handle ANSI and UNICODE strings:

sas MACRO var,quoted_text:VARARG

LOCAL txtname

.data

    txtname db quoted_text,0
    align 4

.code

    mov var,OFFSET txtname

ENDM


sasw MACRO var,quoted_text:VARARG

LOCAL txtname

.data

    txtname dw quoted_text,0
    align 4

.code

    mov var,OFFSET txtname

ENDM