Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为类似 Pascal 的语言编写一个编译器,它将程序转换为Masm32(然后转换为 .exe)。我的目标是让编码器包含 Windows Libraries (.DLL)。所以我需要先读出函数名和跳转地址以获得正确的编译器警告。(功能未定义...)
有没有办法做到这一点?我听说每个 Win32 函数都有一个幻数(0xXXXXXXXX),它是它的地址,然后可以调用 0xXXXXXXXX
Masm32 带有 .inc 文件,其中包括大多数 Windows API 函数和结构。也许你可以利用这些?