Skip to main content
gamedev.net
🔒 Locked

"Resource Files Explained" article code problems?

Started by UselessRob 0 replies 250+ views
Original Post
UselessRob
UselessRob
Howdy I've just been reading thru this article from a few years back, and it all sounded very cool. It's exactly what I'm trying to do: combine my resources into one data file. So I checked out the source code, and it all looks good... However, I wanted to fiddle with it. So I started a new basic Win32 application project and included the ResMngr.h and cpp files. Hadn't really started playing with it yet when I discovered it wont compile. The errors given seem a little ridiculous and number up to about 74 different errors. Mainly to do with the fstream class not seeming to be compatible with what Windows thinks it is, and the __stdcall function pointers. So I thought I'd just ask before I start going thru re-writing/re-inventing the wheel. Has anyone else tried this and had similar problems? I don't believe it would have been put up here if it didn't compile so I figure I'm doing something wrong. I usually do. :) Also, are there any other good articles around on combining resources/resource management type stuff? Thanks in advance! Rob.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.