The resource data is being read from the current process which therefore looks to the .EXE which called the dialog and not the DLL from which the dialog was loaded.