Jump to content
  • Advertisement


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


Resource query

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

Ok, Ive read the recent tut on adding Resources to a program. I am trying to write a selfcontained demo, and Ive included BMPs and WAVs. However, I also want to add a text file to be used as a score table. Is it even possible to write to as well as read a resource? How would I go actually do this? I am even having trouble reading it. I have tried: filein = fopen(MAKEINTRESOURCE (IDR_Scores), "rt") and I get an illegal operation. Any help would be greatly appreciated. Thanks... zoidy

Share this post

Link to post
Share on other sites
if you want to modify your scores, it''s best to leave them as files instead of putting them into resources.

Come to #directxdev IRC channel on AfterNET

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!