Resource DLL are those which contains recourse related to binary and no source code. Resource DLL can contain the followings
Resource DLL can holds resources that can be shared between many applications and thus minimizes the size of each applications.
- String Tables
Resource DLLs are loaded using LoadLibrary() and the with MFC API AfxSetResourceHandle() we set the loaded resource DLL instance as our current resource instance. All the call of loading a resource line LoadIcon() etc. will now be loaded from the resource DLL.
Necessary MFC APIs:
- HINSTANCE AFXAPI AfxGetResourceHandle() - Returns the current loaded resource handle.
- void AFXAPI AfxSetResourceHandle(HINSTANCE hInstResource) - Sets the new resource handle for the MFC Application.
You have viewed 1 page out of 109. Your VC++ learning is 0.00% complete. Login to check your learning progress.
Similar topics related to this section
Programming Windows, Fifth Edition (Developer Reference)
Programming Applications for Microsoft Windows (Microsoft Programming Series)
Programming Windows with MFC, Second Edition
Visual C++ Programming
Programming Microsoft Visual C++, Fifth Edition
| #1 webmaster Mon 28 Apr/2014 21:59:24(GMT) || 0 || 0|
We are pleased to inform you that a forum/blog has been incorporated with www.mybestnotes.co.in. You are welcomed to add your comments, requests, codes, solutions and feedback to it. Please login(if already a member) or signup(for free) to avail to this facility.
Your message goes here: