What are WinTypes, WinProcs and SW_NORMAL?

隐身守侯 提交于 2019-12-02 03:47:45

Wintypes and winprocs are translated Windows 3.x headers that come with windows versions of Turbo Pascal and Delphi 1. In later Delphi versions these are aliased to the more "modern" (as in after 1995) win32 Windows unit.

SW_NORMAL is a parameter to winexec that has info about the window of the generate program.

You can look up Windows functions (even ancient ones like this) in MSDN, and this will give you a link for WinExec which links through to Showwindow for the various windows options and their explanation.

Your program is weird in the sense that it uses win 3.x apis to call a Windows NT+ "cmd.exe".

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!