Compile and Bind Resources

Building an application that uses resources is a simpler process than it was in earlier versions of VisualAge C++. Simply specify your resource files as source files for a build. You can specify resource files of the following forms:

Here is an excerpt from a configuration file. These directives build myprog.exe from files mysource.c and myres.rc.

target "myprog.exe" {
   source "mysource.c"
   source "myres.rc"
}

If you have shared or dynamic link libraries for resouces, you must load them explicitly at run time. You can use the following API to dynamically load a library:

You can build shared or dynamic link libraries for resources in the same configuration file that builds an executable file that uses those libraries.



Configuration Files


Use Resource Source Files as Sources for a Build
Add or Change Source Files
Add or Change Targets
Build
Build Executable Programs
Build Dynamic Link Libraries for Resources


Build Extensions Supplied with VisualAge C++