Monday, November 10, 2008

Static linkage notes

When you statically link to the VCF, you won't automatically pick up the resource images and default ICO for the windows. You can fix by adding the ApplicationKit.res file, which does get built for you, to your link step. In VC6, go to the Link tab of your project's settings, and add the ApplicationKit.res like so:

$(VCF_ROOT)/lib/ApplicationKit.res

This will fix it so you get access to resources for the ApplicationKit.