|
Short story: Enumerates resources embedded within any file, and displays many standard types.
Longer description from old site: click here.
To be edited...
This sample, or the one from which it originally derived, was published (or at least peripherally mentioned) in the following article(s):
- Mine Your Resources, Ask the VB Pro, VBPJ, May 2000
This sample uses the following API calls:
Module Library Function CPictureDC.cls gdi32
user32CreateCompatibleDC
DeleteDC
DeleteObject
GetObject
SelectObject
GetDC
GetDesktopWindow
ReleaseDCFShowResource.frm gdi32
kernel32
user32BitBlt
DeleteObject
SelectObject
FindResource
FreeLibrary
GetModuleHandle
LoadLibraryEx
DrawIcon
LoadBitmap
LoadIcon
LoadStringMApiErrMsg.bas kernel32 FormatMessage
FreeLibrary
GetVersionEx
LoadLibraryExMCustomBlt.bas gdi32
user32BitBlt
CreateBitmap
CreateCompatibleBitmap
CreateCompatibleDC
DeleteDC
DeleteObject
GetDeviceCaps
GetObject
SelectObject
SetBkColor
SetBkMode
GetClientRect
GetDC
ReleaseDCMEnumResources.bas kernel32
user32EnumResourceLanguages
EnumResourceNames
EnumResourceTypes
FreeLibrary
GetModuleHandle
LoadLibrary
LoadLibraryEx
lstrlen
lstrlen
RtlMoveMemory
LoadStringDon't see what you're looking for? Here's a complete API cross-reference.
Please, enjoy and learn from this sample. Include its code within your own projects, if you wish. But, in order to insure only the most recent code is available to all, I ask that you don't share the sample by any form of mass distribution. Download EnumRes.zip, 28Kb, Last Updated: Wednesday, April 12, 2000