In OpenGL Win32 Tutorial
http://www.nullterminator.net/opengl32.html , there is a course in how to initialize OpenGL in a Windows program with a sample program : glsample.cpp by Blaine Hodge.
This course is very helpful to build an example vi by making a new dynamic link library. I really appreciate Mr. Blaine Hodge's work.
I ported his sample program : glsample.cpp over to LabVIEW.
For building the dynamic link library and the example vi, I used vc2008 express, LabVIEW2010 Fall 2010 and WindowsXP.
Although this example vi is tiny, I belive that this is an extensible and thought-provoking code.
I hope to enjoy coding.
I also ported a modified version sample program without flat sequential structure in the former version : opengltest2.zip with LabVIEW2011 SP1 2012 .
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Hi,
your DLL is working great . Thx
Hi brano.s
I read your e-mail and considered about the problem.
Please google "Error 1097 occurred at Call Library Function Node".
There are some sugggestions since 2007, for example "build a.dll in Visual Studio C++ 2008 and use it in labview".
Hi hideok34,
thanks for reply.
I am sorry it was my fault. Later I tried to recompile your code and everything went fine.
Sorry for bothering you. Good job with this examples