Building dynamic link libraries for resources is a simpler process than it was in earlier versions of VisualAge C++. To build a resource DLL follow these steps:
The build automatically creates an import library with the same name as the dynamic link library and with the extension .lib.
Here is an excerpt from a configuration file that builds a resource DLL in a file named myres.dll from a resource file named strings.rc:
target "myres.dll" {
source "strings.rc"
if $OS2 { // OS2 build needs a C or C++ stub
source "stub.cpp" // contains: void empty(void) {}
}
}
![]()
Use Resource Files as Source Files
Add or Change
Source Files
Add or Change
Targets
Build
Compile and Bind Resources
Build Dynamic Link Libraries
Build Modules That Use DLLs
