Jump to content
  • Advertisement

Archived

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

Wazzoo

Handle?

This topic is 5730 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

can someone explain to me what a handle is? and if you''re gonna use the word "instance" then please explain that too. thx in advance.

Share this post


Link to post
Share on other sites
Advertisement
a handle is basically a pointer to an object in windows. There are various handles for things such as device context???(DC), file access (file handles), pens, brushes, directx surfaces, etc. Well.. actually it''s more than a pointer, but just visualize it is a pointer to keep it simple.

If I remember correctly, an instance (in windows) is the instance of the application running.. to open more than one of the same program, you would create more than one instance of the program. Of course, your application needs at least one instance to run.

..it''s been a while, but I think I explained it correctly.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!