问题描述
你好朋友
我创建了一个opengl应用程序(移动彩色三角形)并完美运行(使用glut).
我想将opengl应用程序代码打包到dll中.
另一个新的win32应用程序将加载dll并创建一个新的空白窗口,现在我想将dll中的代码运行到win32应用程序创建的空白窗口中.
___我的问题是:
opengl应用程序已经在其窗口中运行(使用glut).我以某种方式希望它在win32应用程序窗口而不是default(glut)窗口中运行.
Hi friends
i have created an opengl application(moving color triangle) and runs perfectly(using glut).
i wanted to pack the opengl application code into dll.
another NEW win32 application will load the dll and create a new blank window, now i want to run the code from the dll into the blank window created by the win32 application.
___my problem is:
the opengl application already runs in its window(using glut). i somehow want it to run in the win32 application window and not default(glut) window.
推荐答案
这篇关于DLL中的opengl应用程序要在Win32 C ++窗口中加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!