The following example uses LOAD DLL to initialize an image resource from a .DLL file:

load dll MyPicts.dll
define form Pics from 2,2 TO 20,40
define image MyPict of Pics;
property dataSource "resource MyPicts.dll 1001", top 5, left 5
open form Pics