Skip to content

Conversation

@weirdo12
Copy link

Added $EXTERNALSYM code for C++Builder compatibility. For example:

OSVERSIONINFOEXA = _OSVERSIONINFOEXA;
{$EXTERNALSYM OSVERSIONINFOEXA}

Without this, C++Builder sees OSVERSIONINFOEXA as a redefinition of OSVERSIONINFOEXA in winnt.h.

Added $EXTERNALSYM code for C++Builder compatibility. For example:

OSVERSIONINFOEXA = _OSVERSIONINFOEXA;
{$EXTERNALSYM OSVERSIONINFOEXA}

Without this, C++Builder sees OSVERSIONINFOEXA as a redefinition of OSVERSIONINFOEXA in winnt.h.
@delphidabbler
Copy link
Member

Hi @weirdo12

Sorry to take so long to reply. I've been taking a break from coding and have just noticed your issue & PR.

I'm quite busy just now but will try to review it next week.

BTW you're just in time. My plan is to update the code to detect Win 11 25H2 and re the end of Win 10 support and then archive this project. I'll roll your update into that final release.

@weirdo12
Copy link
Author

weirdo12 commented Nov 5, 2025

Perfect!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants