Skip to content

Allow imported function calls without the IAT_ prefix - #16

Merged
DamianSuess merged 1 commit into
developfrom
feature/ImportAddressTable
Nov 8, 2026
Merged

DamianSuess merged 1 commit into
developfrom
feature/ImportAddressTable

Conversation

@DamianSuess

Copy link
Copy Markdown
Collaborator

Imported functions can now be called using call [MessageBoxA] after an
#IMPORT declaration. Existing IAT_ and __imp_ aliases remain compatible
and generate the same machine code.

Updated the samples and concatenation tutorial to use plain function names.
Ambiguous imports require a DLL-qualified alias, and conflicting local labels
produce an error.

Validation:

  • All 71 tests pass.
  • All nine samples compile.
  • Rebuilt and verified both native executables, zcc.exe and zero.exe.
  • Confirmed legacy IAT_ calls still execute correctly.

…of "IAT_" or "__imp_" aliases anymore (Import Address Table). Updated samples to no longer use `IAT_` prefix.
@DamianSuess DamianSuess added this to the v0.0.3 milestone Nov 8, 2026
@DamianSuess DamianSuess self-assigned this Nov 8, 2026
@DamianSuess DamianSuess added the enhancement New feature or request label Nov 8, 2026
@DamianSuess
DamianSuess merged commit f7a545f into develop Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant