Problem with System.PlatformNotSupportedException #511
Answered
by
HurricanKai
DeafMan1983
asked this question in
Q&A
|
Hello @HurricanKai , junger Deutscher 👍 Ich weiß schon dass du jüngster Programmierer. Ich bin auch Deutscher :D Sorry I contact with @HurricanKai on German Language. I made code below: After compilation was successfully. Is it better then System.Runtime... DLLImport - I need use NativeApi, correctly? Thanks! |
Answered by
HurricanKai
Jun 8, 2021
Replies: 1 comment 1 reply
|
Hallo 👋 Also, a couple of suggestions:
if (glfw_win.Native.X11.HasValue)
{
var (displayHandle, windowHandle) = glfw_win.Native.X11.Value;
// your X11 code here
}
|
1 reply
Answer selected by
HurricanKai
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hallo 👋
This exception suggests we can't find GLFW or it doesn't work on your platform, make sure that you have a valid glfw binary next in the working directory.
Also, a couple of suggestions:
And to answer that last question, it's very unlikely you ever need to touch NativeApi yourself.