下面的代码生成:
MyProgram1.exe 中 0x749ab763 处的未处理异常:0xC0000005:访问冲突写入位置 0x00d4eb38。
SECURITY_ATTRIBUTES sa = {0};
sa.nLength = sizeof(sa);
STARTUPINFO si = {0};
si.cb = sizeof(si);
//si.cbReserved2 = sizeof(si);
si.lpDesktop = L"winsta0\\default";
CreateProcessAsUser(hUserTokenDup, NULL, L"Setup.exe", &sa, &sa, false, NORMAL_PRIORITY_CLASS | CREATE_NEW_CONSOLE, NULL, NULL, &si, &procinfo);
代码有什么问题吗?请帮忙