Forum > Windows

Automate the generation of Windows API for FPC

(1/1)

asdf1337:
Hi,
following might be interesting as it could? be used to generate a Windows.pas automatically without errors.

Making Win32 APIs More Accessible to More Languages

asdf1337:
Might be also interesting for Lazarus IDE for autocompletion? :)

MarkMLl:
Specifically, https://github.com/microsoft/win32metadata noting that this is distinct from any historical project to define the Windows APIs.

Seems like a good idea to me, particularly since over the last few days one forum thread has been debating Pascal-style var vs MS-style Hungarian Notation. However, I note that it applies to Win-32, and find myself wondering to what extent it also applies to Win-64: if it drives a wedge between attempts to keep the existing Windows API definitions in step it could be counterproductive (is that an evil gurgle from Steve Ballmer I hear in the distance? :-)

MarkMLl

PascalDragon:

--- Quote from: asdf1337 on January 22, 2021, 09:54:36 pm ---Hi,
following might be interesting as it could? be used to generate a Windows.pas automatically without errors.

Making Win32 APIs More Accessible to More Languages

--- End quote ---

Well, looks like even more motivation to get my WinMD importer working. ;)

Navigation

[0] Message Index

Go to full version