You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2018. It is now read-only.
I'm using ImGuiCS like in your examples, but it crashes with an access violation the first time I call NewFrame. If I manually set custom alloc/free functions it invokes the alloc function a couple times instead of AVing, and then hangs for a while and my process exits with a random exit code.
Any idea what's gong on here? I'm baffled.
The text was updated successfully, but these errors were encountered:
I tried doing this in my test app (an XNA game, compiled with vs2015):
vario=ImGui.GetIO();varptr=io.MemAlloc(16);
When I do this the debugger stops and the managed debugging assistants shout that the memalloc call unbalanced the stack.
Additional information: A call to PInvoke function 'ImGuiCS!ImGuiNET.MemAllocFn::Invoke' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.
I'm using ImGuiCS like in your examples, but it crashes with an access violation the first time I call NewFrame. If I manually set custom alloc/free functions it invokes the alloc function a couple times instead of AVing, and then hangs for a while and my process exits with a random exit code.
Any idea what's gong on here? I'm baffled.
The text was updated successfully, but these errors were encountered: