Archived

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

Resource query

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