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.
我正在编写一个在程序集中打印命令行参数的 Windows 应用程序。我有所有的处理代码。我需要知道的是程序参数在堆栈上的位置
命令行参数并没有真正在堆栈上传递。获取命令行指针的官方方法是调用KERNEL32函数GetCommandLine。