Foundation > Packaging Rogue Wave Views Applications > Adding a Resource File to a UNIX Library
 
Adding a Resource File to a UNIX Library
To add a resource file to a UNIX library, add the following two lines to a module in the library that you know will be called by your final application (such as, the library initialization module):
extern IlUInt IL_MODINIT(<name>Resources)();
static IlUInt forceRes = IL_MODINIT(<name>Resources)();
ilv2data generates a file name with the following format: <name>.cpp.

Version 6.1
Copyright © 2016, Rogue Wave Software, Inc. All Rights Reserved.