Page 1 of 1

VFS How-To

PostPosted: Sep 1, 2004 @ 6:40pm
by fzammetti
Ok, either my brain is switched completely off, or I don't know... I can't figure out how to use VFS. Here's where I am:

I've created teh VFS file with a single PNG image in a folder called gfx. I've imported the VFS file into my project under the name IDR_VFS in the resource folder VFS.

This is where I'm stuck... Talking about Win32, how do I go about opening it and loading that image into a surface for use?

Sorry, I know I'm going to feel brain-dead stupid when I see it, but I can't figure out from the docs what the proper usage of the CreateVFS and Open methods should be. Thanks!