this is my code
and this is my errorCode:if(!WriteProcessMemory(hProcess, str, lpszDllPath.c_str(), lpszDllPath.length() + 1, 0))
and "lpszDllPath" is string.. thanks for reply and sory my english..Code:error C2664: 'WriteProcessMemory' : cannot convert parameter 3 from 'const char *' to 'void *'