Ошибка возникает внутри kernel32 (большой адрес), но при попытке записать в маленькие адреса (write of address 5accc0). Так что это не запись В kernel32, это запись по недоступному адресу ИЗ нее.
С МСДНа:
Цитата:
The Unicode version of this function, CreateProcessW, can modify the contents of this string. Therefore, this parameter cannot be a pointer to read-only memory (such as a const variable or a literal string). If this parameter is a constant string, the function may cause an access violation.
|