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:
The class IDynamicLinkLibrary from the IBM Open Class Library
The function DosLoadModule in the OS/2 Toolkit
The function loadlibrary in the Windows SKD
You can build shared or dynamic link libraries for resources in the same configuration file that builds an executable file that uses those libraries.
![]()
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++
