Я не могу создать консольную вывод в рамках dlls chrome.exe при замене DLL Chrome.exe на свои собственные.#include
#include
#include
DWORD WINAPI Main(LPVOID LPAram) {
// Try to free the console first, if one exists
FreeConsole();
// Allocate a new console window
if (AllocConsole()) {
FILE* pConsole = nullptr;
freopen_s(&pConsole, "CONOUT$", "w", stdout); // Redirect stdout to console
std::cout
Не удалось выделить консоли. < /p>
< /blockquote>
Подробнее здесь: https://stackoverflow.com/questions/795 ... chrome-exe