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.
在加载的 dll(C#.net 代码)中将启动参数(命令行参数)传递给 exe(从 VC++ 代码构建)的方法是什么我尝试使用 dll 中的 Process.Startinfo.Arguments,但它没有返回任何内容.
使用 Environment.GetCommandLineArgs() 检索原始命令行参数。