News:

Download Pelles C here: http://www.pellesc.se

Main Menu

Recent posts

#71
Tips & tricks / Disasm tool
Last post by Vortex - November 07, 2026, 09:26:22 AM
QuoteDisAsm for Windows. It's not IDA or HIEW, it's not meant to be. But for an 'objdump -d' like, minimum fuss tool that can disassemble the three most common architectures plus a bit more besides, and is completely independent of Visual Studio to boot, it's a perfectly acceptable tool.
Usage

Usage: disasm module [Function] [options]

Where module is a Windows PE File (exe, dll, ocx, sys, scr, etc)

[Function] is an optional argument specifying a single function to show the disassembly of. If you don't provide a function name, the contents of all PE sections marked as code or executable is shown.

[options] are optional and modify the disassembly output -b Adds the raw code bytes alongside the instruction that it makes up -l Adds the line number of the source file alongside the assembly (requires private symbols) -f Adds the file name of the source file alongside the assembly (requires private symbols)

There is no separate option for file output. All output is via stdout, so redirect that if you need a file.
https://www.airesoft.co.uk/disasm
#72
User contributions / Re: Offline GitHub MS Document...
Last post by TimoVJL - November 07, 2026, 12:12:57 AM
@Robert
Thanks for a link to another complicated MS help site.
Pehaps from it is possible to create a F1 keyword list.
There will be a lot 404 page not found help pages.

EDIT 2026-11-07:62198 files 147406 keywords 40529 msdirected to file:62198 files 147406 keywords 27690 ms
#73
User contributions / Re: Offline GitHub MS Document...
Last post by Robert - November 06, 2026, 09:55:54 PM
Quote from: Robert on November 06, 2026, 07:32:31 AM
Quote from: MrBcx on November 04, 2026, 03:02:17 AM
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...


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.



I suspect that in the .rtf files most of the 84000 plus broken hyperlinks to the Microsoft docs can be fixed by changing instances of

HYPERLINK "/windows
to

HYPERLINK "https://learn.microsoft.com/en-us/windows

For a complete offline experience, instead of linking to the online source,
it would be better to include the archive at

https://github.com/MicrosoftDocs/sdk-api/tree/docs

and link to the function docs in it instead.

sdk-api has the docs for standard Windows header functions like CreateWindowExA, CharUpperW etc.
#74
User contributions / Re: Offline GitHub MS Document...
Last post by John Z - November 06, 2026, 03:58:12 PM
Thanks Timo,  will do.

John Z
#75
User contributions / Re: Offline GitHub MS Document...
Last post by TimoVJL - November 06, 2026, 02:21:50 PM
Just take take of Omit default library name in objects and remove nocrt.lib from linker settings.

NoCrt libs aren't updated  lately.

I try to scan a that win32-docs zip a some way:// 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;
}
#76
User contributions / Re: Offline GitHub MS Document...
Last post by John Z - November 06, 2026, 01:44:28 PM
Quote from: TimoVJL on November 04, 2026, 11:18:39 AMA tool adapted to view RTF-files with msftedit.dll.

Hi Timo,
I tried to build this but got this error:
Building WHViewRTF64.exe.
POLINK: fatal error: File not found: 'nocrt.lib'.

Is there a download for this?

Thanks,

John Z
#77
User contributions / Re: Offline GitHub MS Document...
Last post by John Z - November 06, 2026, 12:16:12 PM
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"


Thanks very much MrBcx!  I'm thinking of using this to update my MDFILES3 project to use actual RTF. Currently it shows the output in HTML and .MD (in an RTF control).

Thanks again for sharing,

John Z

https://forum.pellesc.de/index.php?topic=11608.msg41572#msg41572
#78
User contributions / Re: Offline GitHub MS Document...
Last post by John Z - November 06, 2026, 11:20:27 AM
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 of

HYPERLINK "/windows
to

HYPERLINK "https://learn.microsoft.com/en-us/windows


A while back I converted the entire 'controls' section of the GitHub docs into a .chm file, and a .cab file.

It is mentioned somewhere in the forum but hosted mainly at:
https://sourceforge.net/projects/windows-controls-api-docs/
because of the forums prior lower upload limit - but I attached the .chm version here now.

When doing that, for just that small section of the documents, there were 23,313 links and only 6138 were external HTTPS links. Only a few of the external ones didn't go to the MS Doc site.

John Z
#79
User contributions / Re: Offline GitHub MS Document...
Last post by Robert - November 06, 2026, 07:32:31 AM
Quote from: MrBcx on November 04, 2026, 03:02:17 AM
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...


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.



I suspect that in the .rtf files most of the 84000 plus broken hyperlinks to the Microsoft docs can be fixed by changing instances of

HYPERLINK "/windows
to

HYPERLINK "https://learn.microsoft.com/en-us/windows
#80
User contributions / Re: Offline GitHub MS Document...
Last post by MrBcx - November 05, 2026, 10:24:22 PM
Quote from: MrBcx on November 04, 2026, 03:02:17 AM
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...


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.

FYI -- Attached are my updated MD2RTF files that I used to create "win32-docs-RTF"