c ++ win32命令行 [英] c++ win32 command line
本文介绍了c ++ win32命令行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Process :: start(" test.exe"," ture");
它启动一个名为test.exe的进程并发送参数ture但是在text.exe上我不知道我不知道如何获取已发送的参数,test.exe是win32窗口。所有我需要帮助如何获得test.exe?
im using Process::start("test.exe","ture");
it start a process called test.exe and send argument ture but on text.exe i don''t know how to get the argument that have been sent,test.exe is win32 window. all i need help with how to get the ture in test.exe?
推荐答案
如果它是一个控制台应用程序,请按照示例
follow the example if it is a console application
展开 | 选择 | Wrap | 行号
MessageBox(NULL,lpCmdLine,L"命令行参数",MB_OK);
这将有ture value?
MessageBox(NULL,lpCmdLine,L"Command Line argument",MB_OK);
will this have the ture value?
这是否具有真值?
will this have the ture value?
为什么不试试看看?
why dont you try it and see for yourself?
这篇关于c ++ win32命令行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文