我调用ShellExecute()打开explorer,譬如:
ShellExecute(NULL, "open", "explorer.exe", "c:\\windows", NULL, SW_SHOW);为什么总是在新的explorer.exe进程中打开文件夹呢?
我检查了文件夹选项。其中的“在单独的进程中打开文件夹窗口”是没有勾选的。
但为什么我调用ShellExecute()也好,
WinExec("explorer.exe \"C:\\Windows\"",SW_SHOWNORMAL);也好
总是会创建1个新的explorer.exe进程? 郁闷~我手动点开文件夹的话,是没有创建新进程的。
郁闷windows
ShellExecute(NULL, "open", "explorer.exe", "c:\\windows", NULL, SW_SHOW);为什么总是在新的explorer.exe进程中打开文件夹呢?
我检查了文件夹选项。其中的“在单独的进程中打开文件夹窗口”是没有勾选的。
但为什么我调用ShellExecute()也好,
WinExec("explorer.exe \"C:\\Windows\"",SW_SHOWNORMAL);也好
总是会创建1个新的explorer.exe进程? 郁闷~我手动点开文件夹的话,是没有创建新进程的。
郁闷windows
ShellExecute(NULL, "explorer", "c:\\windows", NULL, NULL, SW_SHOW);
是这样,explore多了一个r