Advertisement

Newbie Q's: Visual Studio .NET and HeNe Tutorials

Started by August 21, 2002 10:16 AM
0 comments, last by ejohnso9 22 years, 6 months ago
Greetings, fellow OpenGL learners... I am new to developing in a MS/Windows environment and new to OpenGL but not new to programming. I am having a little trouble getting up to the starting line and hoping some kind soul can help me get through Tutorial 1 - after that I think I will be on my way. The tutorial is apparently written for Visual Studio and not Visual Studio .NET, and I''m not familiar enought with the .NET version to make the appropriate translations: Right at the beginning of Tutorial 1, he talks about linking in the three GL .lib files (libraries). I have hacked my way through several C# projects, and under C# I get an icon in the Solution Explorer window that says "Show all files". After clicking that, I can see a folder that says references. By right-clicking on that folder, and then selecting "Add Reference", I can add references to DLL''s, librarys, COM objects, etc. I would think there would be something similar to do under the C++ project, but I never get a "Show all files" Icon. I''m pretty puzzled as to why and I would really like to be able to see everything that is there (for example the executable that gets built under Debug which does not now show under the Solution Explorer). And so I''m not seeing how to manipulate what DLL''s are linked with my compiled code. Has someone else worked through these issues with Visual Studio .NET? If someone could help me get through Tutorial 1 I would really, REALLY appreciate it. Thanks in advance , -ej
You want it to run under C++.NET or C#.NET ?

If you're going for C++ just use VC6 code and change some for loops to kame it work. To include your libs just use:

#pragma comment(lib, "glu32.lib") // GLU lib
...

If you're going for C# then you have to manualy import all GL function form .dll files (joyful) or use some kind of premade library/engine (CsGL/ExoEngine)

You should never let your fears become the boundaries of your dreams.

[edited by - _DarkWIng_ on August 21, 2002 1:38:04 PM]
You should never let your fears become the boundaries of your dreams.

This topic is closed to new replies.

Advertisement