Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

g_hwnd !=0 error #21

Open
daztaw opened this issue Aug 23, 2022 · 2 comments
Open

g_hwnd !=0 error #21

daztaw opened this issue Aug 23, 2022 · 2 comments

Comments

@daztaw
Copy link

daztaw commented Aug 23, 2022

rebuilt lib and injected throws this error if i click ignore hit f12 it will just crash any d3d12 game its injected to!

line throwing the error.
static void ImGui_ImplWin32_UpdateMousePos() { ImGuiIO& io = ImGui::GetIO(); IM_ASSERT(g_hWnd != 0);
Screenshot_1

attached with vs

A breakpoint instruction (__debugbreak() statement or a similar call) was executed in UE4Game.exe.

Screenshot_2

@Taylor-Haase
Copy link

Having this exact same issue here. Any known fixes?

@Tapok777
Copy link

Tapok777 commented Mar 1, 2023

globals::mainWindow = (HWND)FindWindow(0, "Renderer: [DirectX12], Input: [Raw input], 64 bits");
you definitely need to change that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants