Overview Chapter

class CDXResource

Constructors and Destructors
CDXResourceDefault constructor.
~CDXResourceDefault constructor.
Operations
Close Closes the resource file.
GetFile Gets a file from a resource file.
GetHandle Returns RESHANDLE (which in fact is only index to internal CDXResource tables) ID is generated by ResourceCompiler (and stored in the Directory of ResourceFile).
GetPos Returns position of particular file in Resource File.
GetSize Returns size of particular file in Resource File.
GetType Returns type of particular file in Resource File.
GetfHandle Gets the file handle of resource file being used.
Open
OpenV1 Opens a resource file to be used with CDXResource.
Seek Set the position in resource file to the start of particular file.
   
                      
Data Members
public
CDXResDirEntry* Directory;
UINT NumOfEntries;
FILE* fHandle;Handle of Resource File.
char* fName;Version 2 resource files name of Resource File.
UINT fSize;Resource File Size.
int m_Infile;Handle to the resource file.
int m_Outfile;Handle to the output file.
int m_nFiles;
LPFILEENTRY m_pFE;File entry structure for each file in a resource file.
UINT version;Version of resource file.