Archived

This topic is now archived and is closed to further replies.

Total n00b questions

This topic is 5149 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Alright, so i have some extremely n00bish questions, and i figured that the best place would be beginners, since well, i''m a beginner Few questions i got: 1. What does DLL stand for? 2. What is inside a DLL (i have tried opening them but with no success)? 3. What is the general purpose of a DLL? 4. Where can i get all the OpenGL libraries? I doubt these questions could be any more retarded, but if you could answer them, i''d be appreciative.

Share this post


Link to post
Share on other sites
1. Dynamic link library

2. Executable code and resources (much like a .exe file)

3. A .dll is a library that instead of compiling into the .exe (making a larger .exe and making it so when you update something you have to update the whole thing) it loads the .dll on runtime and uses the .dll

4. The opengl libraries are installed by default if you have visual studio, otherwise, try searching google for more info

Share this post


Link to post
Share on other sites
quote:
Original post by DigitalChaos
Is the OpenGL libraries installed in Microsoft Visuall C++ .NET?

And can the information in DLL files hold information that can be edited? Such as player stats in a game, stuff like that.


As for the first question, yes.

As for the second one, I''m not sure of what you mean. If you are talking about classes that can store player information, then sure. You can have class declarations in the DLLs and then create the classes at runtime in your exe or even in the DLL functions and send the pointer/reference to your exe.

On the other hand, if you are talking about pre-defined values such as the maximum damage for a certain weapon, the armor rating for an armor or standard speed of all units in a game, then that would be better to place in a stand alone file of your own format that you load at runtime and read the values. Easiest would be to create an ASCII text file holding the values and then edit it with notepad. Then when the game starts it reads the values and stores them in internal variables.
Of course, that approach is also the most cheat-prone, but hey. It is flexible.

Share this post


Link to post
Share on other sites