yoavip 0 Newbie Poster

Hi,

I have a C++ code running OpenGL GUI (CEGUI), I need to wrap this window inside a C# Application.
I guess I will compile the C++ as a dll, and add entry points for the C# app.

What is the preffered way to do this?

I thought of these options:

  1. let CEGUI create the window, and pass a handle to C# app (HWND)
  2. let C# create the OpenGL context and remove context creation code from CEGUI app

???

Thanks,
Yoav

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.