HMG_LoadResourceRawFile ()
Gets Raw Data From Resources

 

 

 

Syntax:

 

 

     HMG_LoadResourceRawFile ( cFileName , cTypeResource | nTypeResourceID ) --> cData

 

 

     - nTypeResourceID, standard resource types ID:

 

         - RT_CURSOR

         - RT_FONT

         - RT_BITMAP

         - RT_ICON

         - RT_MENU

         - RT_DIALOG

         - RT_STRING

         - RT_FONTDIR

         - RT_ACCELERATOR

         - RT_RCDATA

         - RT_MESSAGETABLE

         - RT_GROUP_CURSOR

         - RT_GROUP_ICON

         - RT_VERSION

         - RT_DLGINCLUDE

         - RT_PLUGPLAY

         - RT_VXD

         - RT_ANICURSOR

         - RT_ANIICON

         - RT_HTML

         - RT_MANIFEST 

 

 

     - Example:

 

          cText1 := HMG_LoadResourceRawFile ( "File1", RT_RCDATA )

          cText2 := HMG_LoadResourceRawFile ( "File2", "TXT" )

 

          Resource File (.RC):

              File1  RCDATA  File.Txt

              File2  TXT     File.Txt