News:

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

Main Menu

Recent posts

#71
Work in progress / Re: win32-doc md files
Last post by TimoVJL - May 29, 2025, 02:26:26 PM
Only good thing is, that now is possible to create database for online help.
You have done great job with that MS help material.
#72
Work in progress / Re: win32-doc md files
Last post by John Z - May 29, 2025, 12:54:40 PM
Hi TimoVJL,

It is actually worse than you might think too.

HOWEVER -
I added a few code lines to your extract program and from the new extract I have built a new database, handling all identified API_NAME files.  So it accommodates the inconsistent formats, and other issues.

The GitHub documentation was clearly (to me) done by multiple people/groups with various inconsistencies and no general oversight.  Some API_NAMES are not even API functions, many files for the same base API Name bla bla bla...

So the new DB3 takes care of everything extracted by your extract program.

I'll create the new queries needed to output the filename to extract and show, next.  Where there are multiple files for the same base API NAME the user will need to select, similar to HINT when searching a partial function name.

Another possible use of the DB is to create a treeview where the top level are the directories and child level is for the API NAMEs... easy for user to see/browse for the API function they want information on, clicking a child level item pulls the file from the zip and displays it.
Depends on how much work is to be invested in the final output.

John Z
#73
Bug reports / Re: Ampersand in string toolti...
Last post by Pelle - May 28, 2025, 07:48:12 PM
OK, I will add TTS_NOPREFIX (for some future version). Less surprising, I guess...
#74
Bug reports / Re: Ampersand in string toolti...
Last post by TimoVJL - May 28, 2025, 09:44:48 AM
A tooltip feature, not a bug.

QuoteMany applications create toolbars containing tools that correspond to menu commands. For such tools, it is convenient for the tooltip control to display the same text as the corresponding menu item. The system automatically strips the ampersand (&) accelerator characters from all strings passed to a tooltip control, and terminates the string at the first tab character (\t), unless the control has the TTS_NOPREFIX style.
#75
Bug reports / Ampersand in string tooltip te...
Last post by omolin - May 28, 2025, 09:00:33 AM
Simple to reproduce. In my case I has a wide string like this: L"abcd&efgh"
When I hover over the variable name in the sourcecode in the debugger, the ampersand is not shown in the tooltip text. In the Auto window tab, the same variable is displayed correctly with the ampersand.
#76
Assembly discussions / Re: Some Stats
Last post by Vortex - May 25, 2025, 12:44:28 PM
A quick example :

.386
.model flat,stdcall
option casemap:none

COMM CommVar:DWORD

END

.386
.model flat,stdcall
option casemap:none

includelib  \PellesC\Lib\Win\kernel32.lib
includelib  \PellesC\Lib\Win\user32.lib
includelib   msvcrt.lib

EXTERN CommVar:DWORD

printf PROTO C :DWORD,:VARARG
ExitProcess PROTO :DWORD

.data

msg db 'COMM variable = %u',0

.code

start:

    mov     CommVar,256
    invoke  printf,ADDR msg,CommVar

    invoke  ExitProcess,0

END start
#77
Announcements / Re: Version 13.00 is now relea...
Last post by CandCPlusPlus - May 25, 2025, 01:34:20 AM
Thanks Pelle,

This version is working on my computers and I have not encountered any issues so far. :)
#78
Assembly discussions / Re: Basic GUI templates
Last post by Vortex - May 24, 2025, 10:34:00 PM
Dialog box example enhanced with the statement cinclude :

CINCLUDE directive (IA32, AMD64)
 
Purpose:
Parses a C include file, looking for #define statements.
#79
General discussions / Re: Icons / symbol bar oversiz...
Last post by icons2big - May 24, 2025, 06:07:01 PM
I can't go lower than 100% and I wouldn't change the scaling system wide for one program anyway.

Why is there no option to change the size of the icons in the IDE?
#80
Work in progress / Re: win32-doc md files
Last post by TimoVJL - May 24, 2025, 05:42:18 PM
A your example provide, that MS help file is just useless.

Last locally working help file is from 2019-09-05

After that, just pile of shi....