The simplest way to use embedded HTML pages seems to be the creation of local and temporary files. There are a lot of Win32 API functions that help in doing this. For example,
, FindResource
, and SizeofResource
. LockResource
However, the Internet Client SDK released with Internet Explorer 4.0 addresses a new, and even simpler, way to access the HTML pages embedded as custom resources in a Win32 executable module. In practice, it consists of a new "protocol" to access specific data. By prefixing a file name with
you could refer to an HTML page embedded in the resources of a DLL file. An example of this is presented in the HTMLDLG samples on the latest version of the Internet Client SDK.res://