Hi,
I use the following code to launch excel:
but i always get this error,HTML Code:STARTUPINFO Start; PROCESS_INFORMATION ProcInfo; ZeroMemory(&Start, sizeof(STARTUPINFO)); Start.cb = sizeof(Start); Start.dwFlags = STARTF_USESHOWWINDOW; LPWSTR pszExcelPath = L"C:\\Program Files\\Microsoft Office\\Office14\\EXCEL.EXE"; ::CreateProcess(NULL, pszExcelPath, 0, 0, 1, NORMAL_PRIORITY_CLASS, 0, NULL, &Start, &ProcInfo);
Exception thrown at 0x00007FF8AB5B7500 (KernelBase.dll) in sap.exe: 0xC0000005: Access violation writing location 0x00007FF81E0E04D4.
How do I fix it?
Thanks you!




Reply With Quote
