Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - <b>using resources</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Using Resources
--------------------------------------------------------------------------------

 You may store your application's resources in a DLL, or embed them
 inside your EXE file use the Microsoft RC.EXE resource compiler.

 To use resources from inside a DLL:

 Using DLLs as resources      SET RESOURCES TO <cDllName> [,<cDllName>... ]


 Selecting one of the         SET RESOURCES TO <cDllName>
 opened resources

 Ending the use of the        SET RESOURCES TO
 resource


 <cDllName>             Is the name of a DLL where resources have been
placed.  It is possible to specify multiple DLLs for resources.

                        After opening several DLLs as resources it is necessary
                        to select the one we are going to use. To do so we
                        must again issue the command:

                        SET RESOURCES TO <TheSameResourceName>

                        It is similar to selecting a certain Work Area.


To use resources from inside your EXE:

   No special command is required. Just call:

           RC.EXE -K MyApp.rc MyApp.exe

   After linking your EXE, provide an RC file with all the resource
   definitions for your application. The SAMPLES\Build.bat we provide
   automatically calls RC.EXE if a RC is defined with the same name as
   the .prg you are building with build.bat.  Applications requiring
   multiple .prgs, must have their own .rmk file or batch file to build
   them.  Use the above mentioned RC.EXE syntax to embed your resources
   into your final .exe

   RC.EXE is the Windows resource compiler and it is a utility you may
   get from any Windows C/C++ compiler. FiveWin does not provide RC.EXE.


See Also: Windows Resources

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson