ImGuiNET / ImGui.NET

An ImGui wrapper for .NET.
MIT License
1.89k stars 305 forks source link

AccessViolationException on initialize #85

Closed NotHunter101 closed 5 years ago

NotHunter101 commented 5 years ago

image

mellinoe commented 5 years ago

Hi @NotHunter101, you'll need to provide more information for me to be able to help you. Please include a more complete reproducible example, as well as your environment details (operating system, architecture, .NET runtime, etc.).

NotHunter101 commented 5 years ago

I pretty much just copied the stock XNA example code into my project. What version of the ImGUI.Net.DLL should I be using, and how would I obtain it? I have a feeling that this is to due with me just having the wrong DLLs.

Operating System: Windows 10 x64 .Net Framework 4.7.2

NotHunter101 commented 5 years ago

Okay, apparently I was using the wrong cimgui. Now that I am using the right one, the application boots, but nothing draws. Any ideas?

mellinoe commented 5 years ago

Are you running the sample program, or your own project? If the latter, what modifications have you made?

NotHunter101 commented 5 years ago

I am using my own project, but I essentially copied the code directly from the sample. When I get home I will loading the sample project directly.

NotHunter101 commented 5 years ago

I got this to work, I was using the wrong references and targeting the wrong framework version. Thanks for your help.