Download Pelles C here: http://www.pellesc.se
// keywords topic_type api_name: api_type: api_location:
static int ParseMemFile(char *pMem, int nSize, char *szFile)
{
char *pPtr, *pPtr1, *pPtr2, *pPtr3;
pPtr = strstr(pMem, "keywords:");
if (!pPtr) return 1; // no keywords
pPtr = strstr(pMem, "topic_type:");
if (!pPtr) return 2; // no topics
pPtr = strstr(pMem, "api_name:"); // CRT
//pPtr = StrStr(pMem, "api_name:"); // shlwapi.dll
if (pPtr) {
pPtr3 = strstr(pPtr, "api_type:"); // end of names
printf("%s\t", szFile);
pPtr += 9; // pass
while (*pPtr != 10) pPtr++;
pPtr++;
pPtr1 = pPtr;
pPtr2 = pPtr;
//*(pPtr+10) = 0;
if (pPtr2 < pPtr3) { // avoid empty string
do {
while (*pPtr2 != 10) pPtr2++;
*pPtr2 = 0; // cut to newline
printf("%s ", pPtr1);
pPtr2++;
pPtr1 = pPtr2;
if (pPtr2 > pPtr3) break;
} while (*pPtr2 == '-');
}
printf("\n");
} //else printf("%s\n", szFile);
return 0;
}Quote from: TimoVJL on November 04, 2026, 11:18:39 AMA tool adapted to view RTF-files with msftedit.dll.
Quote from: MrBcx on November 05, 2026, 10:24:22 PMFYI -- Attached are my updated MD2RTF files that I used to create "win32-docs-RTF"
Quote from: Robert on November 06, 2026, 07:32:31 AMI suspect that in the .rtf files most of the 84000 plus broken hyperlinks to the Microsoft docs can be fixed by changing instances ofHYPERLINK "/windows
toHYPERLINK "https://learn.microsoft.com/en-us/windows
Quote from: MrBcx on November 04, 2026, 03:02:17 AMQuote from: John Z on November 03, 2026, 12:25:47 PMIt seems the .md to .rtf converter is incomplete.
is it worthwhile to convert and get rid of all the loose <dt,dd,dl> tags? Probably more readable...
I worked a bit more with AI on the converter and mostly? got rid of those errant tags. It also converts internally
linked *.md into *.rtf, enabling some hyperlinking, which even when it works, mostly sucks on *.rtf files.
I converted the entire win32-docs github repo to RTF and zipped it up. I removed the *.md to cut
down on zip filesize ( even so, it is still 373MB because RTF is rather bloaty )
https://bcxbasiccoders.com/bcxusers/mrbcx/win32-docs-RTF.zip
It might be useful to someone.
HYPERLINK "/windowsHYPERLINK "https://learn.microsoft.com/en-us/windowsQuote from: MrBcx on November 04, 2026, 03:02:17 AMQuote from: John Z on November 03, 2026, 12:25:47 PMIt seems the .md to .rtf converter is incomplete.
is it worthwhile to convert and get rid of all the loose <dt,dd,dl> tags? Probably more readable...
I worked a bit more with AI on the converter and mostly? got rid of those errant tags. It also converts internally
linked *.md into *.rtf, enabling some hyperlinking, which even when it works, mostly sucks on *.rtf files.
I converted the entire win32-docs github repo to RTF and zipped it up. I removed the *.md to cut
down on zip filesize ( even so, it is still 373MB because RTF is rather bloaty )
https://bcxbasiccoders.com/bcxusers/mrbcx/win32-docs-RTF.zip
It might be useful to someone.
Quote from: John Z on November 03, 2026, 12:25:47 PMIt seems the .md to .rtf converter is incomplete.
is it worthwhile to convert and get rid of all the loose <dt,dd,dl> tags? Probably more readable...
Page created in 0.058 seconds with 14 queries.