OpenGL game written in C with Cocoa interface, I want to connect to Windows

I am wondering if anyone can offer me some tips on how to do this. I have a MacOS X OpenGL game written in very portable C, except for the non-game GUI. Thus, in Cocoa, I set up the OpenGL window and context, controlled settings, registration, listened to keystrokes, etc. But the whole drawing and input processing is handled in a pretty portable C. Therefore, I want to connect to Windows. I figured the obvious way is to use the Win32 api. Then I started reading the Win32 tutorial and started wondering, maybe life is not too short. Can I do this in C # (without converting the backend to C #)? I would rather devote time to learning C # than Win32.

Any suggestions would be greatly appreciated. I really don't know what to lick about Windows. The latest version I used regularly was 3.1 ...

+3
source share
3 answers

Well, although it is not very convenient for writing Mac applications, QT is quite acceptable for Windows ... and allows you to create for Linux. Bonus, you can also create and debug your Mac, which means that you can make the user interface work, then you basically go away with testing and make sound on other platforms.

+1
source

Tao Framework OpenGL, GLUT, SDL .. #... , . , , UI... Id GLUT . .

0

GNUStep. OpenStep/Cocoa , , Windows. , API-, , . OpenGL , Windows.

0

Source: https://habr.com/ru/post/1744634/


All Articles