U
ungvichian
I am trying to write a program in VC++.Net that will read a text file
with wireframe data in it and display the wireframe it represents. This
link has a sample of the code I'm basing my program off of:
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=03
The idea is that when the program starts, an Open File Dialog comes up
for you to select the (*.txt) file you want to display, and after doing
so, it asks for fullscreen mode (already implemented in the code).
After that, it displays the picture (I'll get to that later), and you
can interact with it (using keys, and I know how to do this). (I've
done a program to this effect in VB.Net, using the CsGL code available
from the above site, but the lack of interactivity with the display
prompts me to write it in VC++.Net instead.)
However, I've already run into a problem with the first step. I can't
seem to add the Open File Dialog to my program, and apparently, it also
requires the program to be "managed" with garbage collection. Who wants
to help me?
with wireframe data in it and display the wireframe it represents. This
link has a sample of the code I'm basing my program off of:
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=03
The idea is that when the program starts, an Open File Dialog comes up
for you to select the (*.txt) file you want to display, and after doing
so, it asks for fullscreen mode (already implemented in the code).
After that, it displays the picture (I'll get to that later), and you
can interact with it (using keys, and I know how to do this). (I've
done a program to this effect in VB.Net, using the CsGL code available
from the above site, but the lack of interactivity with the display
prompts me to write it in VC++.Net instead.)
However, I've already run into a problem with the first step. I can't
seem to add the Open File Dialog to my program, and apparently, it also
requires the program to be "managed" with garbage collection. Who wants
to help me?