16位.com可执行文件可以调用win32 API吗?

est*_*est 3 com api winapi dos

16bit .com的任何最小示例在Windows上使用Win32 API显示窗口GUI?

sta*_*ker 6

Win16 - > Win32

这可以使用 CallProc32W

  • 调用LoadLibraryEx32W()加载Win32 DLL.
  • 调用GetProcAddress32W()以获取DLL例程的地址.
  • 使用CallProc32W()或调用DLL例程CallProcEx32W.

代码示例

概念

Dos - > Win32

http://www.ragestorm.net/tutorial?id=27


Ign*_*ams 5

多路复用中断(中断 0x2f)可用于从 Windows 内的 DOS 会话访问各种 Windows 功能,但它仅允许访问选定数量的功能;据我所知,无法通过它使用任意 API 调用。