2
LPCTSTR applicationName = NUL // NULL => module name from command line
string argument1 = "something";
string argument2 = "anotherthing";
LPTSTR  commandLine = "childpath\\child.exe";
success = CreateProcess(
applicationName,
commandLine,
processSecurityAttrs,etc...)

ここでやろうとしているのは、親のコマンド ライン引数を子に渡そうとすることです。だけど、どう組み合わせてタイプして子供に渡すのLPTSTRかが分からない。それは私に型定義を与えます。エラー。Visual Studio 2013 と C++ を使用しています。stringLPTSTR

4

1 に答える 1